I'm having trouble understanding the format required by the apc.filters directive in the PHP APC configuration. (especially for several models)
manual says "A comma separated list of extended POSIX regular expressions."
Say I don’t want to cache two files, namely brooklyn.php and boston.php
I posted the following entry:
apc.filters = "-(.*)/brooklyn\.php$, -(.*)/boston\.php$"
It still caches
I also tried
apc.filters = "-(.*)/brooklyn\.php$", "-(.*)/boston\.php$"
Saving Caches
I would really appreciate if anyone could write a sample expression with multiple patterns.
source
share