Richard Heyes wrote:
FWIW, I found what was setting the cache headers - sessions. I may be
able to use session_cache_limiter(). Not Sure.
Further, I found this to be what I needed:
session_cache_limiter('private_no_expire');
Cheers.
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupports
FWIW, I found what was setting the cache headers - sessions. I may be
able to use session_cache_limiter(). Not Sure.
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
--
PHP General Mailing Lis
Sorry, I didn't articulate what I meant very well. What I meant was that
you know the churn rate of your pages, so put in sensible expiry headers
based on that info.
Unfortunately I can't foresee when the pages are changed (it won't be me
who changes them).
But the better way to solve it is
Richard Heyes wrote:
I'm well-aware of what the headers are for, but you can construct
expiry headers that match the last-modified header.
If I do that the Expiry: header will be in the past and the page will be
considered expired.
Sorry, I didn't articulate what I meant very well. What I me
I'm well-aware of what the headers are for, but you can construct expiry
headers that match the last-modified header.
If I do that the Expiry: header will be in the past and the page will be
considered expired.
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowled
Richard Heyes wrote:
Maybe I'm being dense, but why not set it to what you want it to be?
Clearing it is leaving the decision up to the browser which will not
necessarily have the effect you want for all users.
Incidentally, it might not be possible if Apache is setting it. Not
sure if PHP ha
Maybe I'm being dense, but why not set it to what you want it to be?
Clearing it is leaving the decision up to the browser which will not
necessarily have the effect you want for all users.
Incidentally, it might not be possible if Apache is setting it. Not sure
if PHP has the ability to overr
Richard Heyes wrote:
[EMAIL PROTECTED] wrote:
Try this never gives me a problem. I use it to keep proxy servers from
caching.
But I want the page to be cached...
Maybe I'm being dense, but why not set it to what you want it to be?
Clearing it is leaving the decision up to the browser which
Have you tried setting the value to FALSE, NULL, or something else?
Yes, nada I'm afraid.
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
--
PHP General Mailing List (http://www.php.net/
[EMAIL PROTECTED] wrote:
Try this never gives me a problem. I use it to keep proxy servers from
caching.
But I want the page to be cached...
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
Let me reiterate, I want this page to get cached, but not based on an
Expires: header. Rather a Last-Modified header.
Have you tried setting the value to FALSE, NULL, or something else? I
recall having read something along those lines. I'll see if I can find
it again, meanwhile you could expe
Try this never gives me a problem. I use it to keep proxy servers from
caching.
Yes but I want to unset an Expires: header and not give a any value.
1. PHP (I believe) is setting an Expires: header.
2. The Expires: header is causing the page to be cached too long,
Longer than the Last-Modi
Try this never gives me a problem. I use it to keep proxy servers from
caching.
Richard L. Buskirk
-Original Message-
From: Richard Heyes [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 21, 2007 7:55 AM
To: PHP General List
Subject: [PHP] Unsetting a header
Does anyone know of a way
13 matches
Mail list logo