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]
|