Solved

Prevent Caching

Posted on 1998-04-04
4
209 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

740 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