Friday, September 2, 2011

Re: FireFox doesn't cache XXXXXXXXXX.cache.html

Well, the issue here is that Firefox doesn't even send a conditional request. How did you capture this request?

How, and 2Mb is really big! How about using code splitting? http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html

BTW, it might also be wise to disable Etags: see http://www.websiteoptimization.com/speed/tweak/etags-revisited/ , http://developer.yahoo.com/performance/rules.html#etags and http://code.google.com/speed/page-speed/docs/caching.html
From that last page: "It is important to specify one of Expires or Cache-Control max-ageand one of Last-Modified or ETag, for all cacheable resources. It is redundant to specify both Expires and Cache-Control: max-age, or to specify both Last-Modified and ETag"
And finally, your "max age" is too far in the future: "Do not set it to more than one year in the future, as that violates the RFC guidelines." (same source)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/9vWRMbS-PGUJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment