• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Prevent Caching

I want my page to reload so the banner changes when a "back" navigation occurs. How do I prevent page caching?
0
CyberMike
Asked:
CyberMike
  • 2
  • 2
1 Solution
 
d4jaj1Commented:
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
 
CyberMikeAuthor Commented:
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
 
d4jaj1Commented:
Yes, it should.
0
 
CyberMikeAuthor Commented:
Excellent! Thanks for the Expert Help!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now