You are here: Browser keeps caching « All PHP « IT news, forums, messages
Browser keeps caching

Posted by news.xs4all.nl on 09/06/07 08:21

Hi,

I have a problem with Internet Explorer (v7). It's not my favorite browser,
but you do have to test your websites in it.

In my browser, I have selected the cache option "Every time I visit the
website".
In the PHP code I included:

header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Expires: Mon, 1 Jan 2000 00:00:00 GMT"); // Date in the past
header("Pragma: no-cache");

Still I need to refresh the page with Ctrl-F5, pressing just F5 returns an
old version of the page.

Do I miss something here?

Thanks,
Ramon.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация