astro-purgecss is modifying files keeping the hash #450
Labels
astro-purgecss
Issues related to astro-purgecss package
bug
Something isn't working
help wanted
Extra attention is needed
Describe the bug
The assets built by Astro in the
dist/client/_astro/
folder are all named with a hash and therefore are usually be given long cache headers.astro-purgecss is modifying these files without changing the hash. With long cache headers, browsers will not request updated versions.
To Reproduce
Steps to reproduce the behavior:
astro build
dist/client/_astro/generated.HASH.css
astro build
dist/client/_astro/generated.HASH.css
Expected behavior
astro-purgecss should change the hash after modifying files.
The text was updated successfully, but these errors were encountered: