Re: APC caching - preloading files
| From: | Tjerk Meesters | Date: | Sat, 15 Jan 2011 04:10:25 +0000 |
| Subject: | Re: APC caching - preloading files | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51283@lists.php.net to get a copy of this message | ||
I generally find it more reliable to use iptables to stop incoming requests
while priming the cache using a small script.
On Jan 15, 2011 11:43 AM, "Bharat Nagwani" <bnagwani@juniper.net> wrote:
> Hello Experts,
>
> Sorry for posting this in this list but I am not finding any documentation
on this APC php.ini setting
> apc.preload_path
>
> I have tried the following but it doesn't seem to work
>
> apc.preload_path = "+/core/*"
>
> apc.preload_path = "/core/*"
>
> What I am looking for is files in certain directories (single or multiple
paths are even better) to be precached when the PHP
> module is first loaded so the first hit is not a miss.
> Can this be achieved via APC?
>
> I am using php 4.4.2 on BSD.
>
> Thanks
>