You are here: Re: no-cache - need to reload page from server and not the cache « HTML « IT news, forums, messages
Re: no-cache - need to reload page from server and not the cache

Posted by Art on 10/29/06 15:07

On 10/29/06 5:31 AM, John wrote:

> HiUsers will often use the back button to re-fill a form. I don't want
> that.The following should prevent the cache from filling up.However it is
> not 100% reliable.<head>
> <meta http-equiv="Pragma" content="no-cache">
> <meta http-equiv="expires" content="0">
> <title>First Page</title>
> </head>
> How can I be certain (both for E and FF) that the page reloads from the
> server and not the cache?RegardsJohn
>
>
John,
Instead of the above, try the following meta tag:

<meta HTTP-EQUIV="Cache-Control" CONTENT="No-Cache">

There are some subtleties regarding the Pragma meta-tag that preclude it
doing what you want it to do in all instances. There's an explanation of
this at:

http://support.microsoft.com/kb/234067

HTH...

Art

 

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

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