Disabling caching in Flask

后端 未结 4 1690
执念已碎
执念已碎 2020-11-30 01:27

I have some caching issues. I\'m running very small web-application which reads one frame, saves it to the disk and then shows it in browsers window.

I know, it is p

4条回答
  •  伪装坚强ぢ
    2020-11-30 02:30

    A combination of app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 0 in the python file

    and hard reload (command + shift + R) of the chrome browser worked for me as it seems Chrome caches the static files

提交回复
热议问题