With firefox 3.6.6, refreshing a page that uses gears generates a 200
response for gears_init.js, but a 304 for jquery.min.js.

This seems inconsistent (though of course this is common with http
cache directives.)  Since I'm optimizing web page load times, I'd
prefer the 304.

Can this be fixed?

Courtesy of firebug, here are the details.

Request to https://code.google.com/apis/gears/gears_init.js:
------------
Host    code.google.com
User-Agent      Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6)
Gecko/20100625 Firefox/3.6.6
Accept  */*
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive      115
Connection      keep-alive
Referer                 (...)
Cookie                      (........)
If-Modified-Since       Fri, 29 May 2009 20:42:35 GMT
If-None-Match   "0497acf9a7e93c42e96b2ef64d5c18b2"
Cache-Control   max-age=0

Response:
---------------
HTTP/1.1 200 OK
Vary: Accept-Language,Cookie,Referer
Content-Type: text/javascript; charset=UTF-8
Etag: "0497acf9a7e93c42e96b2ef64d5c18b2"
Last-Modified: Fri, 29 May 2009 20:42:35 GMT
Date: Tue, 06 Jul 2010 14:04:56 GMT
Expires: Tue, 06 Jul 2010 15:04:56 GMT
Cache-Control: public, max-age=3600
X-Content-Type-Options: nosniff
Content-Encoding: gzip
Server: codesite_static_content
Content-Length: 1749
X-XSS-Protection: 1; mode=block

Request to https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
------------
Host    ajax.googleapis.com
User-Agent      Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6)
Gecko/20100625 Firefox/3.6.6
Accept  */*
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive      115
Connection      keep-alive
Referer (...)
If-Modified-Since       Tue, 09 Feb 2010 23:05:02 GMT
Cache-Control   max-age=0

Response:
---------------
HTTP/1.1 304 Not Modified
X-Content-Type-Options: nosniff
Date: Tue, 06 Jul 2010 14:04:56 GMT
Server: sffe
X-XSS-Protection: 1; mode=block

Reply via email to