Re: caching problem
- From: Jim Higson <jh@xxxxxxx>
- Date: Tue, 29 Nov 2005 20:28:29 +0000
oeb wrote:
> 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
Indeed, or with no scripting at all, just configure the server to send the
right headers.
http-equivs would probably work too, if you can't change server settings.
> As to the other way around, I'm not so sure.
--
Jim
.
Relevant Pages
- Re: caching problem
... >> Using PHP you can force a page not to cache using the header function. ... it'll generate some HTTP headers which propose that behaviour to ... > http-equivs would probably work too, if you can't change server settings. ... control, and has been cached, there is nothing you can do to update it ... (alt.html) - Re: AJAX html wont refresh after data update
... I tested this in IE 7 and it does force a re-fetch. ... be usefull for those who have no control over the server side headers, ... With a number of various server side "ignore cache" headers: ... (comp.lang.javascript) - POHMELFS high performance network filesystem release.
... I'm please to announce POHMEL high performance network filesystem. ... POHMELFS stands for Parallel Optimized Host Message Exchange Layered File System. ... Local coherent cache for data and metadata. ... Very fast and scalable multithreaded userspace server. ... (Linux-Kernel) - POHMELFS high performance network filesystem. Transactions, failover, performance.
... I'm please to announce POHMEL high performance network filesystem. ... POHMELFS stands for Parallel Optimized Host Message Exchange Layered File System. ... This is a high performance network filesystem with local coherent cache of data ... Very fast and scalable multithreaded userspace server. ... (Linux-Kernel) - POHMELFS high performance network filesystem. Cache coherency, transactions, parallels.
... I'm pleased to announce POHMEL high performance network filesystem. ... POHMELFS stands for Parallel Optimized Host Message Exchange Layered File System. ... This is a high performance network filesystem with local coherent cache of data ... Very fast and scalable multithreaded userspace server. ... (Linux-Kernel) |
|