mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-17 14:59:11 +02:00
This starts using webassets for the site-icons.css file inside the base template so that a cache-busting "version" string is added after the filename as a query variable (as was already being done with the other CSS and JS files). It also creates a new service that's triggered by a "path changed" event on site-icons.css, which causes gunicorn to reload. This should mean that whenever the site-icons.css file is updated by the cronjob that generates it, gunicorn will automatically reload and update the cache-busting string for the CSS file, causing users' browsers to update to the newest version.