-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Hint] Avoid URL-versioning for some files #2496
Comments
Oh and to clarify, whilst you should not rev these files, the natural question is how do we as developers (instantly) update them then? For
|
I've been bitten by this so many times... I believe we still have some issue with the manifest in webhint.io and one of the icons not existing anymore (or something like that). So this should be a change in A user can now avoid the http-cache for a specific URL via the @webhintio/contributors thoughts? Thanks! |
When browsers support it, you could check for the It's currently available behind |
It's common for developers to version resources (call it: fingerprinting, url hashing, file revving, url query string parameters etc.). This may cause issues for some types of files, which to my knowledge include:
Serviceworkers: https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle#avoid-url-change
Webmanifests: Specify how updates work w3c/manifest#446 (comment)
Related issue(?): #1307
As for the potential hint implementation, I assume that because serviceworkers do not have a unique MIME type I suppose you'd want to look for the common file-names
sw.js
,service(-/_)worker.js
. And although Web App Manifest defines theapplication/manifest+json
for.webmanifest
it is common for developers to usemanifest.json
aswell.✌️
The text was updated successfully, but these errors were encountered: