Closed
Bug 1305377
Opened 9 years ago
Closed 9 years ago
Firefox does not show local cache for sites in inspector
Categories
(DevTools :: Storage Inspector, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: ro_nini, Unassigned)
Details
Attachments
(1 file)
|
474.22 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160728204513
Steps to reproduce:
0. (should be like this by default) in Inspector settings (Toolbox options), under Advanced settings, make sure "Disable Cache" is unchecked
1. Go to any site.
2. Open storage inspector (Shift + F9)
3. Open cache storage
Actual results:
No entries found in the cache storage.
Expected results:
The cache storage should list all the files (js, css, jpg etc.) in the local cache for the site. See comparison image between Firefox and Chrome.
Possibly related: when using the Reddit Enhancement Suite add-on and visiting reddit.com, it displays a popup saying:
'An error occurred while creating the IndexedDB database.
Reddit Enhancement Suite will not function.
Your Firefox profile may be corrupted (Bug 944918).'
The IndexedDB also appears in the same tab as the local cache and also displays nothing, as opposed to for example the cookies or the local storage sections.
I am sorry, but you misunderstand what "Cache Storage" is. It isn't the browser cache as you appear to believe.
CacheStorage allows you very granular control of the cache so that e.g. when a user is offline they can still use the site using cached resources. It is basically an up-to-date version of the appcache.
Jake Archibald wrote an excellent article on CacheStorage here:
https://jakearchibald.com/2014/offline-cookbook/
A demo of CacheStorage is here:
https://mdn.github.io/sw-test/
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
I see. Thank you for the clarification and sorry for the confusion.
Has the functionality described by me moved somewhere else then? I know for sure I used to be able to see the site's resources using Firefox's Inspector, but now I can't find it anywhere, nor can I find any info on it on google. (see original screenshot on how it looks on Chrome -- vanilla Firefox had a very similar feature)
(In reply to Nini from comment #4)
> I see. Thank you for the clarification and sorry for the confusion.
>
> Has the functionality described by me moved somewhere else then? I know for
> sure I used to be able to see the site's resources using Firefox's
> Inspector, but now I can't find it anywhere, nor can I find any info on it
> on google. (see original screenshot on how it looks on Chrome -- vanilla
> Firefox had a very similar feature)
I think you are talking about the network tab... all of the resources loaded for a page including cached resources are there.
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•