?
Solved

Prevent Caching

Posted on 1998-04-04
4
Medium Priority
?
212 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 400 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to count occurrences of each item in an array.
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.
Suggested Courses

752 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