Forums / Install & configuration / Admin, publish content, cache clear for all (relevant) sites

Admin, publish content, cache clear for all (relevant) sites

Author Message

Ano Nymous

Thursday 25 May 2006 2:00:18 am

Hi all,

Currently I have a ezp running for a couple of sites.
One of those sites has 3 siteaccesses (different languages).

Now, when (re-)publishing content, the admin only seems to clear cache for the VarDir=var/plain, since this is the default configuration for the admin siteaccess.

But the content is also relevant for 1, or several of the other siteaccesses.

For example,

mysiteaccess_en => VarDir=var/mysiteaccess
mysiteaccess_nl => VarDir=var/mysiteaccess
mysiteaccess_fr => VarDir=var/mysiteaccess

This way, all the mysiteaccess relevant cache, log, etc are in EZROOT/var/mysiteaccess/.

The content cache is available under EZROOT/var/mysiteaccess/cache/content/mysiteaccess_en/ or any other siteaccess name at the end.

How can I make EZP also clear the relevant objectcache in those separate directories when (re-)publishing content ?

Thanks in advance.