? Actually, thats
what i would like to happen.
Thank you for the help and best regards!
Luanna
-Mensagem original-
De: Chris Shiflett [mailto:[EMAIL PROTECTED]]
Enviada em: sexta-feira, 22 de novembro de 2002 18:40
Para: Luanna Silva; [EMAIL PROTECTED]
Assunto: Re: RES: [PHP] RE: How to cache
Well, my explanation was not complete, because I wanted to make sure
I was talking about the right thing. :-)
One important thing I failed to mention is that caching applies to
responses to GET and HEAD requests. If the response you showed us was
a reply to a POST, it is not going to be cached.
A
original-
De: Chris Shiflett [mailto:[EMAIL PROTECTED]]
Enviada em: sexta-feira, 22 de novembro de 2002 17:32
Para: Luanna Silva; [EMAIL PROTECTED]
Assunto: Re: [PHP] RE: How to cache PHP on Apache
Luanna,
This response allows caching, but the cached response is only
considered fresh for one
Luanna,
This response allows caching, but the cached response is only
considered fresh for one hour (which might be appropriate for you),
as is determined by both the Expires header and the max-age attribute
of the Cache-Control header.
The Pragma header is defined under HTTP/1.0 and is only used
My header looks just like this:
HTTP/1.0 200 OK
Date: Sat, 16 Nov 2002 16:45:29 GMT
Server: Apache/1.3.20 (Win32) PHP/4.0.6
Cache-Control: public, max-age=3600
Expires: Sat, 16 Nov 2002 17:45:29 GMT
X-Powered-By: PHP/4.0.6
Content-T
My header looks just like this:
HTTP/1.0 200 OK
Date: Sat, 16 Nov 2002 16:45:29 GMT
Server: Apache/1.3.20 (Win32) PHP/4.0.6
Cache-Control: max-age=3600
Expires: Sat, 16 Nov 2002 17:45:29 GMT
X-Powered-By: PHP/4.0.6
Content-Type: text
6 matches
Mail list logo