Bug 193533

Summary: Preloaded content is always retrieved from cache
Product: WebKit Reporter: Oliver Joseph Ash <oliverjash>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Major CC: achristensen, ap, beidson, cdumez, daniel.zimmerman, ggaren, koivisto, me, simon.fraser, spamfaenger, webkit-bug-importer, yegor.yakovishen
Priority: P2 Keywords: InRadar
Version: Safari 12   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Reproducer
none
Screenshot
none
Reproducer 2 none

Description Oliver Joseph Ash 2019-01-17 05:33:10 PST
Created attachment 359368 [details]
Reproducer

If a request is preloaded, Safari will always retrieve it from the cache, regardless of the cache headers for that request.

Attached an example.

This is the same as https://bugs.webkit.org/show_bug.cgi?id=187726, but more general in scopeā€”the bug is not specific to the "Disable Cache" feature in the web inspector.
Comment 1 Oliver Joseph Ash 2019-01-17 05:35:31 PST
Created attachment 359369 [details]
Screenshot
Comment 2 Radar WebKit Bug Importer 2019-01-17 08:43:04 PST
<rdar://problem/47352078>
Comment 3 Oliver Joseph Ash 2019-01-18 01:41:39 PST
Created attachment 359462 [details]
Reproducer 2

I've improved the test case and included steps to reproduce in the README.md.
Comment 4 Sergio Mattei 2023-02-17 17:19:05 PST
This is a huge blocker for web development on Safari. 

This bug completely breaks the NextJS dev cycle. Are there any updates on this? It's very odd to enable "Disable Caches" and the browser to completely ignore my setting.