Solved

Prevent Caching

Posted on 1998-04-04
4
211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

717 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