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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 00:23:58
Script start
Timing: Jan 19 2025 00:23:58
Module start 'layout'
Timing: Jan 19 2025 00:23:58
Module start 'content'
Timing: Jan 19 2025 00:23:58
Module end 'content'
Timing: Jan 19 2025 00:23:58
Script end

Main resources:

Total runtime0.5463 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.2109152.6563
Module start 'layout' 0.00690.0051 740.867239.4922
Module start 'content' 0.01200.5329 780.3594402.2656
Module end 'content' 0.54500.0014 1,182.62508.0938
Script end 0.5463  1,190.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.6066160.0002
Check MTime0.00130.2459160.0001
Mysql Total
Database connection0.00080.138410.0008
Mysqli_queries0.507592.8814460.0110
Looping result0.00040.0701440.0000
Template Total0.515894.420.2579
Template load0.00190.356420.0010
Template processing0.513894.050020.2569
Template load and register function0.00020.030910.0002
states
state_id_array0.00140.260110.0014
state_identifier_array0.00090.160720.0004
Override
Cache load0.00160.2853160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.133210.0007
Fetch class attribute name0.00060.103610.0006
XML
Image XML parsing0.00010.022010.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00170.3162100.0002
String conversion0.00000.001740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs