Enable client-side caching of static files
qoole opened this issue · 2 comments
qoole commented
Add:
SEND_FILE_MAX_AGE_DEFAULT = 86400
to
/machinaris/web/default_settings.py
This tells flask to add a suitable Cache-Control
header to all static files. Improving responsiveness of the UI by not having to fetch all .css and .js files every page load
guydavis commented
Very good suggestion! Thanks for bringing this to my attention. Please keep the excellent contributions coming.
guydavis commented
Available now in the Machinaris v0.8.7 release.