Why are some people seeing an old version of your site?
Most browsers will cache or keep a local copy of your pages to speed-up future viewing of those pages. Depending on how the viewer set up their browser, it might display an old version of your site, especially if you update your pages often. To tell browsers when to use get a newer copy of your site, you could use following tags:
<meta http-equiv="Expires" content="Tue, 01 Jan 1980 1:00:00 GMT">
<
meta http-equiv="Pragma" content="no-cache">
These meta tags should be placed in between your <
head> and <
/head> tags. Also the specified date should be a date in the past so that the browser will immediately get rid of the cached copy or not keep it at all. The reason for two tags is that while the "Expires" tag is understood by most browsers, some older browsers may still look for the "no-cache" tag.
No comments:
Post a Comment