-
Notifications
You must be signed in to change notification settings - Fork 341
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
Some browsers are reusing 'no-cache' cached images without revalidation #1088
Comments
This sounds like the memory or image cache - see #590 and #354. All browsers currently will not reuse a response with |
@yoavweiss mentioned this might be defined as part of https://html.spec.whatwg.org/#updating-the-image-data:list-of-available-images |
WPT PR: web-platform-tests/wpt#25380 |
It's sorta-per-document as it can be reused across documents. Basically that needs to be revamped with a properly defined memory cache. |
As discussed in https://bugs.webkit.org/show_bug.cgi?id=216048, it seems Chrome and Firefox are not always obeying 'Cache-Control: no-cache' directives, at least for image loads with directives like 'Cache-Control: public, max-age=31536000, no-cache'.
WebKit is currently revalidating such image loads which has a perf impact.
If both Chrome and Firefox are actually skipping revalidation in some cases, it might be worth documenting that in the fetch spec.
The text was updated successfully, but these errors were encountered: