Commit Graph

2 Commits (d0d67085e3de41bda7650c644878d265b37554f8)

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