Do you use sessions? If so, try using session_cache_limiter() function. Otherwise connect directly to
apache with telnet and see the headers yourself.

Luanna Silva wrote:


Im having major problems while trying to cache php scripts on Apache.

Could you help me, please? I really dont know what to do anymore.

I have a client, a reverse proxy and a Apache Web Server. The proxy is caching the static, but not the dynamic stuff.

Ive tried to use Apache mod_expires, like this:

<IfModule mod_expires.c>
<FilesMatch "\.php$">
ExpiresActive on
ExpiresDefault "access plus 1 hour"

but it didnt work.

Any help will be appreciated.



PHP General Mailing List (
To unsubscribe, visit:

Reply via email to