I'm using apc to manage caching and I'm aiming to only cache the files in 4 directories:
/home/user6/public_html/beta/
/home/user6/public_html/beta/controller/
/home/user6/public_html/beta/mode/
/home/user6/public_html/beta/templates/
I have tried both of these regular expressions but neither seem to work?
apc.filters="^(?!/home/user6/public_html/beta/(|controller/|model/|templates/)).*"
apc.filters="^(?!/home/user6/public_html/beta/).*,
"^(?!/home/user6/public_html/beta/controller/).*,
^(?!/home/user6/public_html/beta/model/).*,
^(?!/home/user6/public_html/beta/templates/).*"
Are my regular expressions wrong or is something else incorrect?
At the moment the site works through: index.php - which then includes the controller/model/template files
Only /home/user6/public_html/beta/index.php
shows up as a cached file so could the issue be that other files are never seen by apc due to being included and not directly accessed?