Closed
Bug 758002
Opened 12 years ago
Closed 12 years ago
FireFox 12 Cache is not working
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 748647
People
(Reporter: michaelbehr70, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0 Build ID: 20120420145725 Steps to reproduce: After installing FireFox 12, I tested a dynamically generated View Cart web page by adding a product to the cart (which then does a redirect to the view cart page). the View Cart page pulls from the Browser cache, even though the headers sent with the view cart page indicate no cache. the following is the get and response headers: GET / HTTP/1.1 Host: arnoldsawards.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0 AlexaToolbar/alxf-2.15 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive Cookie: PHPSESSID=xxxxxxxxxxxxxxxxxxxxx HTTP/1.1 200 OK Date: Wed, 23 May 2012 21:04:23 GMT Server: Apache/2.2.21 (Unix) PHP/5.2.17 with Suhosin-Patch mod_ssl/2.2.17 OpenSSL/1.0.0g mod_apreq2-20051231/2.6.0 mod_perl/2.0.5 Perl/v5.8.9 X-Powered-By: PHP/5.2.17 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html Actual results: instead of FireFox Requesting the page contents, it displayed the contents from the cache which shouldn't have been cached to begin with Expected results: FireFox should have made a request of the server to serve a new set of content.
Comment 1•12 years ago
|
||
If it did not recontact the server, then exactly where did the server response headers posted above come form?
the response header is from the "INITIAL" request for the page. I included that to show that it should never have cached the page to begin with.
To Reproduct, go to http://www.arnoldsawards.com, pick any product, add it to the shopping cart. Once you get to the view cart screen, add another (different product) to the cart. It will take you to the view cart screen when adding the 2nd product, however the view cart screen you will see will come from the cache. Press F5 to reload the view cart and that forces it to send the request to the server again. check the headers along the way and you will see what I mean.
It appears as though it is recontacting the server, the server is issuing a response, but FireFox is not displaying the content sent back. Its of course difficult for me to debug what exactly is happening as I don't have the FF Source code, so I am making an assumption that the server is sending the new content, but FF for some reason is simply displaying the cached content. Even setting the cache to 0mb, firefox still sends cached content from someplace (memory?)
Comment 5•12 years ago
|
||
Can you please try a nightly build ? We fixed one bug in the caching area recently and this is probably already fixed.
(In reply to Matthias Versen (Matti) from comment #5) > Can you please try a nightly build ? > We fixed one bug in the caching area recently and this is probably already > fixed. Im not sure what a nightly build is, sorry. My Firefox does indicate it is up to date. Version 12.0
Comment 7•12 years ago
|
||
Download ftp://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-15.0a1.en-US.win32.zip Extract the Zip somewhere, close Firefox 12 and start the Firefox.exe inside the extracted folder. After you have tested you can delete the folder. BTW: It will ask to install a PDF addon at the startup, you can cancel that.
I have tested the problem out in the nightly and yes, it does indeed appear to be fixed in the nightly. Excellent.
Comment 9•12 years ago
|
||
I guess that this got fixed by bug 751753 via bug 748647 which will be in Firefox13. I'm will mark this wfm because it works in the nightly. I'm not sure enough to mark it as dupe. Thanks for the bug report !
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Comment 10•12 years ago
|
||
bug 751753 mentions shopping cards, marking as dupe
Resolution: WORKSFORME → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•