问题
Is there a way to prevent flask from setting caching headers in send_file or do I have to manipulate them manually afterwards?
回答1:
send_file accepts cache_timeout parameter - just set it to -1
来源:https://stackoverflow.com/questions/45557539/disable-caching-in-send-file