cancel
Showing results for 
Search instead for 
Did you mean: 

Firefox 12 incorrectly caching pages

SOLVED
Highlighted
New User

Firefox 12 incorrectly caching pages

After upgrading from Firefox 11 to 12 I'm having serious problems with Firefox over-caching pages.

For example if you: Go to a URL where you can enter comments. If after comments are entered you are sent back to the same URL Firefox is showing the old page (without your new comments). You have to do a refresh to see the new page (with the new comment)

Even if the page has PHP headers: header('Cache-Control: no-cache, no-store, must-revalidate'); header('Pragma: no-cache'); header('Expires: 0');

Firefox ignores this too.

1 ACCEPTED SOLUTION

Accepted Solutions
Shooting Star

Re: Firefox 12 incorrectly caching pages

Firefox 13 is out and the fix for this issue is included in the release. Please update to the latest release version of Firefox if you are still having this issue.

28 REPLIES
New User

Re: Firefox 12 incorrectly caching pages

I noticed a very similar issue and it also began after upgrading to FF12. I have multiple users that I've been able to do testing with and I have been able to confirm that the caching is not an issue in FF11.

I did notice I press the browser refresh button it seems to pull a new version of the page, but if I click links on the site it doesn't pull the current version of the page. I've also tried adding a random string to the URL query string, but that didn't seem to make a difference.

Has anyone found any workarounds or additional information related to the caching?

New User

Re: Firefox 12 incorrectly caching pages

One thing you can test to verify that local caching is occurring is by modifying the about:config to disable caching.

Point your URL to about:config, then search for "network.http.use-cache". Double click the setting and it will set it to "false", then test the URL that is having the caching issue. To turn caching back on, double click the value again.

You likely won't want to leave your browser set to no caching what so ever because it will render pages more slowly, but it might help you identify your issue.

New User

Re: Firefox 12 incorrectly caching pages

Note that adding random strings to the URLs did fix the issue for me kind of.

In my osCommerce admin I added "&nocache={random number}" to all URLs, when I update orders now, it shows the updated page right away, but for some weird reason the session message ("Order has been updated") gets lost...

I downgraded back to Firefix 11, i'll wait for 13 hopefully they fixed it by then.

Shooting Star

Re: Firefox 12 incorrectly caching pages

Hey guys. Can you give an example of a website where you can consistently reproduce this behavior? That will help in troubleshooting the issue. Just to be thorough, can you try to recreate the issue in Troubleshoot Firefox issues using Safe Mode too just be sure it isn't plugin related?

New User

Re: Firefox 12 incorrectly caching pages

I tried in safe mode and it still occurs. Here is a site experiencing this: Wall Written Try adding something to the cart, look at the cart and update the quantity, it stays the same until it is refreshed.

Shooting Star

Re: Firefox 12 incorrectly caching pages

Hi dmiller12,

I was able to reproduce it on the site that you linked to. However, I was not able to reproduce it on amazon.com using the same steps. I'm wondering if it is an issue with the websites. Please try the same steps on amazon to see if you still have the issue with cart not updating. If you can provide links to any other sites that have this issue, that would be helpful as well.

Thanks!

New User

Re: Firefox 12 incorrectly caching pages

Have a look at the browser cookie information. On my websites having the issues, Firefox 12 is actually starting a new session on a header redirect (which would normally not happen until you close the browser). My error messages in the session were not appearing because the session was now not the same... Something to maybe look into

Shooting Star

Re: Firefox 12 incorrectly caching pages

Hi robilim,

Can you please add that information to this bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=751753

That will help the developers to troubleshoot and fix the issue.

Thanks!

New User

Re: Firefox 12 incorrectly caching pages

Hi Matt,

I posted it on that bug for you.

Cheers