You are here: Re: Prevent caching of a page « HTML « IT news, forums, messages
Re: Prevent caching of a page

Posted by Michael on 03/23/07 08:55

"MG" <nospam@nospam.com> schreef in bericht
news:1174634866.867107@vasbyt.isdsl.net...
> Thanks Brian and Jukka
>
> I think I will go for the meta tag, but not mess with http headers.
>
> MG

Actually, I think messing with the headers is better :)
When setting character encodings, redirects and HTTP status codes, for
example, using the HTTP headers will tell the browser the correct
information _before_ it starts rendering. If you use meta tags, it will
probably start rendering with the defaults (provided by your HTTP server)
instead, and only switch when it encounters the META tag, which could cause
for some unexpected behaviour (believe me, I found out :)).

But of course, if you want to do pure HTML without using server-side
scripting, you have little choice I suppose.

Regards

Michael.

 

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

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