ans-group/docs.ukfast.co.uk

Cache busting

Opened this issue · 1 comments

What is the feature?

Add GET params to the stylesheets / Javascript to help with cache busting

What benefits will this change bring?

Changes to stylesheets / JS will show without needing a hard refresh

Additional context

I'm not sure how it would work with this project but in Laravel there's a mix manifest file which gives the hash of each asset. This is then appended to the file name as GET param so when the file contents change the hash changes. A function is used to load assets in the link tags using the mix manifest file to get the hash

https://laravel.com/docs/9.x/mix#versioning-and-cache-busting

I wonder if they can't support it in Sphinx due to this bug / feature?