Wednesday, March 9, 2011

Ask Browsers to remove site cache?

Browser cache mean certain items downloaded and saved in local for future access. Browser cache mainly used for speed up reloading of previously visted sites. Drawback was depending on viewer set up there browser cache, it display the older version of your site.So we must mention whether the browser use old cache or  get a newer copy of your site.

You can set this using meta tag. Meta tag should be placed between <head> and </head>.

<meta http-equiv="Expires" content="Wed, 26 Feb 1997 08:21:57 GMT">
<meta http-equiv="Pragma" content="no-cache">

Dates must be given in RFC850 format, in GM and it should be the past date so that browser will automatically change the cached content.

For more detail about META you can get it from here:

HTML META Tags
 
Technical Tags:
 Remove cache, remove old site cache , ask browser to add new cache.

No comments:

Post a Comment