Ajax Tip

If you have been facing cache problems in IE, page has already changed but cannot see changes ? You should simple turn-off caching by meta tags.

<meta equiv=”Pragma” content=”no-cache”>
<meta equiv=”Expires” content=”-1″>

Sometimes it couldnt be too enough to prevent caching so you need to set it dynamically in your pages, in :

response.setHeader(“Cache-Control”, “no-cache”);

and in php:

header(“Cache-Control”, “no-cache”);