Reply to Re: Forcing page refreshes, is it bad practice?

Your name:

Reply:


Posted by David Dorward on 01/24/06 22:09

xyZed wrote:

> I have someone asking me for the html code to force a browser to
> fetch a page from the server instead of using a cached version.

No such code. That is the job of HTTP headers.

http://www.mnot.net/cache_docs/

> Apart from wanting to find the code out, I have a vague recollection that
> it's not advised, but can't be sure.

It depends. It is useful if the content is likely to change often. It is a
waste of bandwidth (time and money) if the content doesn't change often
(although there is the 304 Not Modified response).

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

[Back to original 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

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