The browser did not update the script when Flask modified the js script to restart the web service, which is why

I recently made a known Flask project, but debugging is a headache. Every time I update the static files such as js scripts or css, and restart the Flask service, I refresh the page, but these files are not updated last time, and they need to be cleared from the browser cache before they become updated. I feel very troublesome. Is there a problem with my own code? can anyone give me some advice

Mar.03,2021

add a no-cache, to debug and go again? Normally, resources should have a version number or hash.
but your ctrl+f5 should also be able to force a re-request directly.

Menu