Cache-Control header is ignored in Cache API
Categories
(Core :: Storage: Cache API, defect, P2)
Tracking
()
People
(Reporter: s.h.h.n.j.k, Unassigned)
References
Details
(Keywords: sec-low)
Updated•8 years ago
|
| Reporter | ||
Updated•8 years ago
|
| Reporter | ||
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Updated•8 years ago
|
Comment 5•8 years ago
|
||
| Reporter | ||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
| Reporter | ||
Comment 8•8 years ago
|
||
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
| Reporter | ||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Updated•8 years ago
|
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
Updated•6 years ago
|
Comment 13•6 years ago
|
||
(In reply to Ben Kelly [:bkelly, not reviewing] from comment #9)
In regards to the demo in comment 8, I believe that is covered by the spec
issue raised by google in response to your issue against chrome:https://github.com/w3c/ServiceWorker/issues/1299
But perhaps the proposed From-Origin header would be a better approach?
Do we have a clearer picture on this today?
Comment 14•6 years ago
|
||
From-Origin is now Cross-Origin-Resource-Policy and will ship in Fx 74. Recommending sites to use Cross-Origin-Resource-Policy: same-origin on their resources seems like the correct approach. Selectively honoring certain cache-related headers in certain scenarios is not something that's going to work reliably long term, unless test coverage is real good and nobody forgets about it when there's new cache-related headers.
I also agree with the analysis in https://bugs.chromium.org/p/chromium/issues/detail?id=828420 that this is not a security issue. If you allow your resource to be loaded across origins it can be attacked, period. Caching or no caching doesn't meaningfully change that.
Updated•6 years ago
|
Updated•6 years ago
|
Description
•