Forums / Developer / Clear the cache of one site on a multiple site environment
Matthieu Sévère
Tuesday 11 May 2010 7:34:24 am
Hello,
I have an instance that will host a dozens a website. Each website has his own subtree and var directory (var/'siteaccess_name')
How can I empty the cache of a specific siteaccess ?
Thank you :)
-- eZ certified developer: http://ez.no/certification/verify/346216
Tuesday 11 May 2010 7:42:06 am
A solution would be to create a custom cache for each site using the new cache system in 4.3 http://issues.ez.no/12860
Each custom cache would by linked to the cache dir of the current siteaccess.
But I wonder if there is not a simplier solution ?
Tero Auralinna
Tuesday 11 May 2010 7:56:30 am
Maybe ezcache.php with siteaccess parameter or site specific admin siteaccess?
NXC Finland - Open Source solutions, Internet marketing and web analytics http://www.nxc.fi http://www.auralinna.fi http://twitter.com/teroauralinna
Tuesday 11 May 2010 8:03:39 am
It's what I''m looking for but we can't give a siteaccess to ezcache.php
Only clear-tag, clea-id, clear-all
Friday 14 May 2010 4:13:59 am
After (useless) research I just found that the well known -s option is working :)
I really should have tested before ...