• Jonathan Rehm's avatar
    Add static asset cache busting · a27848b3
    Jonathan Rehm authored
    Calculates MD5 hash of static assets on server start. These are appended to the file name's when url_for is used, telling browsers to download the latest version of the files, e.g. style.css?q=81cf0ee.
    
    Inspired by https://github.com/ChrisTM/Flask-CacheBust but uses query strings instead of rewriting the path because fonts inside CSS files break when the path is rewritten.
    a27848b3
Name
Last commit
Last update
cps Loading commit data...
vendor Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
babel.cfg Loading commit data...
cps.py Loading commit data...
gdrive_template.yaml Loading commit data...
getVendor.sh Loading commit data...
messages.pot Loading commit data...
optional-requirements.txt Loading commit data...
readme.md Loading commit data...
requirements.txt Loading commit data...