Solved

Firefox 38.2.0 is caching when it should not

Posted on 2016-08-02
3
33 Views
Last Modified: 2016-11-01
Firefox is caching data when it should not be.  Any ideas what be going on?  The below code is not working and the page keeps getting pulled.  This works on both chrome and IE.


        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
        <meta http-equiv="cache-control" content="no-cache">
        <meta http-equiv="cache-control" content="no-store">
        <meta http-equiv="Pragma" content="no-cache">
        <meta http-equiv="Expires" content="0">
0
Comment
Question by:Member_2_7967562
  • 2
3 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 41740034
Firefox does not do what you think it should.  https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching_FAQ  And IE and Chrome may not either.  If you can click on 'Back' and get the previous page without a trip to the server, then it is being retrieved from 'cache'.

In addition, 'meta' statements are not necessarily exact replacement for actual headers from the server.  Firefox does not list the statements you are trying to use for cache control as valid 'meta' statements.  https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
0
 

Author Comment

by:Member_2_7967562
ID: 41742335
Hmmmm.. The problem is that we are trying to end a session via logout page.  

Do you think something like this would work?

thanks.

Fred
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 41743083
The problem is that we are trying to end a session via logout page.
I do that all the time without problems with caching.  The session is ended on the server so I'm not sure why you are having a problem in the browser.  What language are you using for your server code?

The 'cache headers' should be sent by the server and not with 'meta' statements, especially since Firefox does not appear to recognize them.  Other browsers will recognize the header sent by the server.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Installing Tor browser 15 87
Reason for High TTFB 1 34
Firefox Display problems 5 41
Competitors in URL Dropdown 2 34
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now