Swirrl / ook

Structural search engine
https://search-prototype.gss-data.org.uk/
Eclipse Public License 1.0
6 stars 0 forks source link

Fingerprint assets #98

Closed kiramclean closed 3 years ago

kiramclean commented 3 years ago

Closes #47. Serves static assets from a new custom handler that writes and reads static asset file checksums to fingerprint assets so they will be re-fetched by browsers if there are any changes.

Robsteranium commented 3 years ago

Any suggestions on how best to test this on the staging server? Load a page, deploy a change to an asset and reload to see if it get's picked up?

kiramclean commented 3 years ago

Yeah exactly.. load a page with the css/js, deploy a new version that has updates to either/both of those, revisit the page, and check that the new asset file is loaded and not the old one.