python - Why can't I update the css in real time after writing it in flask?
女神的闺蜜爱上我2017-06-30 09:54:12
0
3
1163
The css code has been modified, but when running the program, the content of the source code css is still a long time ago and has not been updated at all. Is this a deterrent?
Browser cache. Use
ctrl+F5
to refresh the pageBrowser cache. Set the browser developer mode to disable caching.
If it is chrome, it is as shown below, other browsers are similar.
You need to turn on Flask's debugging mode, set the debug parameter to True, and everything will be fine.