Skip to content

Add asset hashing

rinpatch requested to merge feat/asset-hash into master

Pleroma.social does not serve any Cache-control headers, but at least Firefox and Safari choose to cache CSS between refreshes regardless, resulting in frankeinstein pages that have updated HTML but old CSS. Adding a hash to the filename of the asset prevents it.

Merge request reports

Loading