The most basic approach to doing this utilizes HTML meta tags:
<meta http-equiv="Expires" content="Mon, 26 Jul 2007 05:00:00 GMT"/>
<meta http-equiv="Pragma" content="no-cache" />
By inserting a past date into the Expires meta tag, we can tell the browser that the cached copy of the page is always out of date. This means the browser should never cache the page.
No comments:
Post a Comment