You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: