Re: Re: LAMP || Apache Cache PHP Source File...
| From: | sit1way | Date: | Sun, 15 Oct 2006 17:16:38 +0000 |
| Subject: | Re: Re: LAMP || Apache Cache PHP Source File... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243162@lists.php.net to get a copy of this message | ||
Hi Ed.
Hmmmm, does mod_proxy perform file caching? It appears to just redirect
urls to and from a proxy server.
I'm already doing this on my Windoze test box:
# redirect domain.com/lookup requests to Site Builder Controller
RewriteCond %{REQUEST_URI} !\.+
RewriteRule ^/(.*) /controller\.php/$1 [PT]
Alias /controller.php c:/htdocs/New_Mind/source/controller.php
which just kicks site requests to the source code controller script. I'm
not sure how reverse proxy directives (ProxyPass, ProxyPassReverse) perform
file caching if at all, which is what I want to do, have Apache store the
controller script in memory at all times...
--Noah
"Ed Lazor" <edlazor@yahoo.com> wrote in message
news:EEA2623B-529D-4E6D-B0ED-DD00781B4F87@yahoo.com...
>> I'd like to have Apache cache this file.
>> Mod_File_Cache doesn't look like it will do the trick as this module
>> only
>> works with static content, and Mod_Cache seems to require a GET request,
>> among other requirements, in order to perform file caching.
>
> Apache: reverse proxy