You are here: IE doesn't honor Cache-control with location.href= calls « HTML « IT news, forums, messages
IE doesn't honor Cache-control with location.href= calls

Posted by Jure Erznoznik on 10/12/21 11:23

I make sure that all my pages have the Last-Modified and Cache-control
headers:

Last-Modified: Mon, 08 Aug 2005 12:08:25 GMT
Cache-control: max-age=86400, must-revalidate

While this works well for links and back button in IE 6.0, it fails for
Javascript location.href = "/" statement.
The cache-control header is provided so that IE doesn't squeak about page
being expired when the user presses the back button.

Does anybody know how to get around this?

Thanks,
Jure

 

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

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