Current time: 11-24-2020, 08:09 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
firefox 4 caching javascript?
03-26-2011, 01:20 AM (This post was last modified: 03-26-2011 02:12 AM by sajal.)
Post: #1
firefox 4 caching javascript?
I noticed a problem in firefox initially noticed in 3.6.x but it still exists after upgrade to firefox 4.

Dynamically inserted javascript, such as the Google Analytics snippet, is not caching the ga.js.

This is happening with any script loaded in a similar manner.... Ie and Chrome seem to load from cache as expected...

To reproduce, open firebug, browse say stackoverflow.com. Go thru few pages, on each page the browser will re-fetch ga.js ... But this doesn't happen for webpagetest.org ... Any clues?

Its not my settings, cause i see this behaviour on a freshly created profile as well....

-Sajal
ok... checked thru wireshark... caching works correctly. Maybe firebug error.
Pls ignore this post

cdnplanet.com: We help you select the right CDN
Visit this user's website Find all posts by this user
Quote this message in a reply
03-28-2011, 11:50 PM
Post: #2
RE: firefox 4 caching javascript?
Which version of Firebug are you using?

I have FF 3.6 and Firebug 1.6.0 and see a 200 response for ga.js on stackoverflow.com too, on all pages. In the Net panel, that request is grayed out.
I fired up the Live HTTP Headers add-on in Firefox and I see no requests for ga.js

I guess this is some weird Firebug bug.
Find all posts by this user
Quote this message in a reply
03-29-2011, 06:22 AM
Post: #3
RE: firefox 4 caching javascript?
Hmm, time to get Firefox implemented I guess ;-)
Visit this user's website Find all posts by this user
Quote this message in a reply
03-29-2011, 06:36 AM (This post was last modified: 03-29-2011 06:37 AM by sajal.)
Post: #4
RE: firefox 4 caching javascript?
(03-28-2011 11:50 PM)aaronpeters Wrote:  Which version of Firebug are you using?

I have FF 3.6 and Firebug 1.6.0 and see a 200 response for ga.js on stackoverflow.com too, on all pages. In the Net panel, that request is grayed out.
I fired up the Live HTTP Headers add-on in Firefox and I see no requests for ga.js

I guess this is some weird Firebug bug.
i was using ff4 with firebug 1.7.0 ... i think i saw the same issue on ff 3.6 also (this is for the linux build only)....

Wireshark confirmed firefox behaved correctly.... so something in my installation caused a bug in firebug...

(03-29-2011 06:22 AM)pmeenan Wrote:  Hmm, time to get Firefox implemented I guess ;-)

Firefox is important to me.... occasionally i play with jetpack and would like to be able to do more stuff using it.... I think... everything WPT needs (including screenshots -- was playing with getThumbnail() method of tabs api today...) from a browser can be coded inside a lightweight extension ... if you need help with ff implementation let me know...

cdnplanet.com: We help you select the right CDN
Visit this user's website Find all posts by this user
Quote this message in a reply
03-29-2011, 08:41 PM
Post: #5
RE: firefox 4 caching javascript?
(03-29-2011 06:36 AM)sajal Wrote:  Firefox is important to me.... occasionally i play with jetpack and would like to be able to do more stuff using it.... I think... everything WPT needs (including screenshots -- was playing with getThumbnail() method of tabs api today...) from a browser can be coded inside a lightweight extension ... if you need help with ff implementation let me know...

When we built the Chrome support we did it in a cross-browser way. We should be able to bring Firefox up to the current Chrome capabilities really quickly (the remaining capabilities will have to be browser-specific because they all do SSL differently). We have it on our list to tackle in Q2 so I'll see about pushing it towards the front of the quarter. The extension work should be minimal (and trivial) - sadly, the hardest part will probably be making the end-to-end chain aware that a single agent can run multiple browsers.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)