Cache in Net Panel inconsistent including wrong coloring

111 views
Skip to first unread message

DotnetShadow

unread,
Jun 25, 2012, 2:40:48 AM6/25/12
to fir...@googlegroups.com
Hi there,

I noticed that the net panel shows incorrect colors for when a resource is cached

Take for example this link: http://stackoverflow.com/questions/6797361/how-to-interpret-grey-items-in-firebug-net-panel

When you visit that page the most of the resources are cached, yet the links appear in black.
When you click on the first resource you see a cache tab, isn't the text supposed to be grey?

If I click "disable browser cache" in firefox net panel then the cache tab disappears, but the links still show in black
Furthermore if I press Ctrl-F5, I click on the net panel and the cache button is still there

So there is no real way to tell if something is cached or not just by looking at the listing results is there? A column indicating cache would be nice perhaps?

Regards DotnetShadow

DotnetShadow

unread,
Jun 25, 2012, 2:42:23 AM6/25/12
to fir...@googlegroups.com
I just wanted to add I'm using Firefox 13.0.1 with Firebug 1.9.2

Sebastian Zartner

unread,
Jun 25, 2012, 8:21:26 AM6/25/12
to fir...@googlegroups.com
I noticed that the net panel shows incorrect colors for when a resource is cached

Take for example this link: http://stackoverflow.com/questions/6797361/how-to-interpret-grey-items-in-firebug-net-panel

When you visit that page the most of the resources are cached, yet the links appear in black.
When you click on the first resource you see a cache tab, isn't the text supposed to be grey?
Firefox has two types of caches, an HTTP cache and a so-called Back-Forward cache. Only requests with responses from BFCache are currently displayed in gray. Issue 3757 asks for a better display to make the different response sources better distinguishable.
 
If I click "disable browser cache" in firefox net panel then the cache tab disappears, but the links still show in black
That's ok. Because the cache is disabled, there's no response coming from cache => requests will be shown in black.
 
Furthermore if I press Ctrl-F5, I click on the net panel and the cache button is still there
Pressing Ctrl+F5 reloads the page circumventing the cache, though the cache is not deactivated. It still saves the fetched data to the cache. So the Cache tab is still there (note that the Fetch Count is reset).
 
So there is no real way to tell if something is cached or not just by looking at the listing results is there? A column indicating cache would be nice perhaps?
That's what I suggested in the issue mentioned above. Though as the issue comments mention there might be other UIs.

Sebastian

DotnetShadow

unread,
Jun 26, 2012, 8:03:08 AM6/26/12
to fir...@googlegroups.com
Thank you for your explanation now I understand how the caching works in Firebug keep up the great work


On Monday, June 25, 2012 4:40:48 PM UTC+10, DotnetShadow wrote:
Reply all
Reply to author
Forward
0 new messages