"Console" network viewing

15 views
Skip to first unread message

pedz

unread,
Jul 16, 2011, 7:03:55 PM7/16/11
to fir...@googlegroups.com
I've been bitten by this twice.  If you click so that XMLHttpRequests show up in the console, they are *not* the same information as if you look under the "Net" tab.

In particular, the caching is not shown the same.  If something is marked with max-age not equal to 0, the Net tab will show that as grey when the browser just uses the cached copy.  Also, the if-modified-since and if-none-match do not show up in the console version.

The reason it bit me was I was looking at the console version thinking that my server was broken and not sending out the etag and other stuff.

Anyhow... do other consider this a bug?  Or is it a deliberate choice?  Its very confusing to me.

Jan Honza Odvarko

unread,
Jul 18, 2011, 7:16:24 AM7/18/11
to Firebug


On Jul 17, 1:03 am, pedz <pedz...@gmail.com> wrote:
> I've been bitten by this twice.  If you click so that XMLHttpRequests show
> up in the console, they are *not* the same information as if you look under
> the "Net" tab.
> In particular, the caching is not shown the same.  If something is marked
> with max-age not equal to 0, the Net tab will show that as grey when the
> browser just uses the cached copy.  Also, the if-modified-since and
> if-none-match do not show up in the console version.
Can you please point me at the page that I could use to repro the
problem on my machine?

> The reason it bit me was I was looking at the console version thinking that
> my server was broken and not sending out the etag and other stuff.
Note that empty headers (e.g. Etag) are removed by Firefox see a
discussion here:
http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/c64eb4b639ebbea0?hl=en#

And proper bug here:
https://bugzilla.mozilla.org/show_bug.cgi?id=669259

Honza

pedz

unread,
Jul 18, 2011, 9:21:53 PM7/18/11
to fir...@googlegroups.com
Hi,

I don't have a public web site where I can demonstrate this.  The thing I'm working on is internal.

I can put together a Rails App this weekend if you want me to.  I believe that will take me only a few hours at most.

The alternative is I can give you screen shots of what I'm referring to.

Let me know what you prefer.

pedz

Jan Honza Odvarko

unread,
Jul 19, 2011, 3:01:56 AM7/19/11
to Firebug
Having a working test case + instructions how to use it is definitely
better.

You can also use a template for Firebug test cases here:
http://code.google.com/p/fbug/source/browse/#svn%2Ftests%2Fcontent%2Ftemplates

Thanks!
Honza
Reply all
Reply to author
Forward
0 new messages