Bug 137113
Summary: | Web Inspector: Should show until when a resource is cached | ||
---|---|---|---|
Product: | WebKit | Reporter: | Martin Häcker <spamfaenger> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | graouts, inspector-bugzilla-changes, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Martin Häcker
Currently it is very hard to debug caching issues using the webkit inspector.
Ideally when I look at a resource (for example a js file) I want to see if this object is added to the cache, and for how long it will stay there. Bonus if you can tie this back to the originators of this information.
This is the current report one gets when requesting a resource:
Anfrage & Antwort
Methode GET
im Cache Nein
Status OK
Code 200
Codiert 41.48 KB
Decodiert 41.48 KB
Übertragen 41.72 KB
Komprimiert Nein
What this doesn't tell me (and I don't care if it is shown at another place in the UI, but this seems logical as the cached status is already shown here) is if this resource is GOING INTO the browser cache and for how long it will stay there by itself.
The Information I want would be something like this:
in Cache NO (Now cached for 24 hours)
in Cache NO (Now cached until 23:30 tomorrow)
Bonus points if there is a tooltip or more detailed info available that tells me something like
Resource is cacheable because it specified Cache-Control: public and Cache-Control:max-age=49249. The Expires:Thu, 25 Sep 2014 23:30:00 GMT says something different but will be ignored as per RFC <link>
This would greatly ease debugging caching issues as it gives definitive information what the browser intents to to do with a file and how it interprets what the server told it.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/18452605>
Martin Häcker
See also bug #137115 for the reverse scenario