Re: How to cache PHP on Apache
| From: | Marek Kilimajer | Date: | Thu, 14 Nov 2002 12:59:10 +0000 |
| Subject: | Re: How to cache PHP on Apache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124419@lists.php.net to get a copy of this message | ||
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:
Hello!
I´m 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.
I´ve tried to use Apache mod_expires, like this:
<IfModule mod_expires.c>
<FilesMatch "\.php$">
ExpiresActive on
ExpiresDefault "access plus 1 hour"
</FilesMatch>
</IfModule>
but it didnt work.
Any help will be appreciated.
Regards,
Luanna