Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] APC caching - preloading files [RSS Feed]

#1 Jan. 15, 2011 04:11:14

Tjerk M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] APC caching - preloading files


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" <bnagw***@*uniper.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
>

Offline

#2 Jan. 15, 2011 09:52:58

Rasmus L.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] APC caching - preloading files


On 1/14/11 7:38 PM, Bharat Nagwani 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/*"

There is no glob support on the preload path. It is just a straight prefix.

-Rasmus

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

  • Root
  • » PHP
  • » [PHP-DEV] APC caching - preloading files [RSS Feed]

Board footer

Moderator control

Enjoy the 16th of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support