[Webkit-unassigned] [Bug 216125] New: Fetch requests with 304 Not Modified response don't hit cache
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 3 09:06:57 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=216125
Bug ID: 216125
Summary: Fetch requests with 304 Not Modified response don't
hit cache
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pangle at apple.com
Created attachment 407883
--> https://bugs.webkit.org/attachment.cgi?id=407883&action=review
Resources to reproduce issue - needs Apache server with PHP support.
Requests made via `fetch(…)` in JavaScript will not hit the cache for some types of resources, like text and json files even when the content is otherwise in the cache. Other resources, like PHP pages will hit the cache under similar circumstances.
I’ve been using these test resources to reproduce the issue. Needs to be hosted on an HTTP/PHP server. There is a hidden .htaccess file in here as well that is part of the test to make sure caching headers are set for the static resource.
You can observe in the JS console that 304 responses for the text/json files don’t return any body.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200903/3553df50/attachment-0001.htm>
More information about the webkit-unassigned
mailing list