You're here: Snippet Directory » HTML/JavaScript (65)
Language:

No-Cache Headers

Language: English
Programming Language: HTML
Published by: Dennis Pallett [not registered]
Last Update: 5/9/2006
Views: 379

Description

Add these no-cache headers (and server-sided ones) to turn off caching of your website.

Code

1 <!-- no cache headers --> 2 <meta http-equiv="Pragma" content="no-cache"> 3 <meta http-equiv="no-cache"> 4 <meta http-equiv="Expires" content="-1"> 5 <meta http-equiv="Cache-Control" content="no-cache"> 6 <!-- End no cache headers -->

No comments avaiable

Add a comment

Name *  

Email (won't be displayed) *    

Website  

Comment *  

Sicherheitscode Security Code *    

RSS