Commit Graph

2 Commits (33c6edba58ce50330d4712bbaff5171685d88893)

Author SHA1 Message Date
Snakes d0d67085e3
Rebuild assetcache on inotify events. 2022-09-27 02:07:32 -04:00
Snakes ac66eb07e9
Implement hash-based cachebusting module.
Adds the files.helpers.assetcache module, which runs on worker startup
to compute CRC digests of files in given asset directories and provides
a Jinja filter to create cachebusted URLs based on those hashes.
This alleviates the need to increment cachebusting counters in query
strings entirely for files it is applied to.
2022-09-24 02:40:26 -04:00