Solved

Prevent Caching

Posted on 1998-04-04
4
208 Views
Last Modified: 2013-12-25
I want my page to reload so the banner changes when a "back" navigation occurs. How do I prevent page caching?
0
Comment
Question by:CyberMike
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
d4jaj1 earned 100 total points
ID: 1858189
Try either of these two tags.  Using them both should prevent the pages from caching, although, I'm not sure if preventing your page from caching automatically updates your baner.

<meta http-equiv="Expires"
content="Tue, 04 Dec 1993 21:29:02 GMT">
<meta http-equiv="Pragma" content="no-cache">

Any questions, please add a comment.
0
 

Author Comment

by:CyberMike
ID: 1858190
My banner and other content are being generated by an SSI. So I assume if the page isn't cahed it will re-run the SSI(s). Will this solution allow a re-load when a "back" event is used.
Much Thanks

0
 
LVL 3

Expert Comment

by:d4jaj1
ID: 1858191
Yes, it should.
0
 

Author Comment

by:CyberMike
ID: 1858192
Excellent! Thanks for the Expert Help!
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

828 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