Re: caching problem
- From: oeb <what.will.i.do.with.a.gig@xxxxxxxxx>
- Date: Tue, 29 Nov 2005 16:20:47 +0000
Bruno wrote:
Hello Richard
Thanks for your answer! Can I programm it within HTML to read from Cache or from the Server first?
Thanks
Bruno
<snip> Using PHP you can force a page not to cache using the header function.
<?php
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
?>see http://www.php.net/header
I'm sure you can do this with pretty much any language that can output raw headers
As to the other way around, I'm not so sure.
oeb .
- Follow-Ups:
- Re: caching problem
- From: Toby Inkster
- Re: caching problem
- From: Jim Higson
- Re: caching problem
- References:
- caching problem
- From: Bruno
- Re: caching problem
- From: rf
- Re: caching problem
- From: Bruno
- caching problem
- Prev by Date: Re: caching problem
- Next by Date: Re: php or asp
- Previous by thread: Re: caching problem
- Next by thread: Re: caching problem
- Index(es):
Relevant Pages
|