mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-25 09:30:31 +00:00
a27848b351
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. |
||
---|---|---|
.. | ||
static | ||
templates | ||
translations | ||
__init__.py | ||
book_formats.py | ||
cache_buster.py | ||
db.py | ||
epub.py | ||
fb2.py | ||
gdriveutils.py | ||
helper.py | ||
redirect.py | ||
ub.py | ||
uploader.py | ||
web.py |