Cache doesn't refresh after content publish

Author Message

H-Works Agency

Tuesday 20 July 2010 5:11:58 am

Hello,

I am having a cache problem on my ezp 4.2.

When i publish/modify contents in the backoffice it doesn't refresh the cache on front siteaccess.

Can someone help me about this ?

Is it related to "RelatedSiteAccessList" (to link admin & front) or not ?

EZP is Great

Bertrand Dunogier

Tuesday 20 July 2010 6:56:37 am

Yes, ViewCache clearing is indeed related to these settings. If you only have one database for the whole eZ Publish instance, you can set this directive in the global override file, and it should contain all your siteaccesses.

Keep in mind that ViewCache clearing also depends on how you have configured Smart cache in viewcache.ini.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

H-Works Agency

Monday 06 December 2010 4:28:42 am

Hello Bertrand,

I have to thank you - a few month later - for your answer but i still can't make this work.

I really don't understand as i always had this feature on my previouses 3.9 ezp installs. Now with 4.2 it doesn't work anymore.

I've setup the RelatedSiteAccessList for every sites but it still doesn't clear front cache when editing in admin.

My only directive in viewcache.ini.append.php is : SmartCacheClear=enabled

But even if i remove the whole file it doesn't change anything.

EZP is Great

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 18 2025 02:10:39
Script start
Timing: Jan 18 2025 02:10:39
Module start 'layout'
Timing: Jan 18 2025 02:10:39
Module start 'content'
Timing: Jan 18 2025 02:10:40
Module end 'content'
Timing: Jan 18 2025 02:10:40
Script end

Main resources:

Total runtime0.8482 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.1797152.6406
Module start 'layout' 0.00620.0029 741.820339.4766
Module start 'content' 0.00910.8378 781.2969540.2344
Module end 'content' 0.84690.0013 1,321.531312.1250
Script end 0.8482  1,333.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3877160.0002
Check MTime0.00140.1617160.0001
Mysql Total
Database connection0.00090.100610.0009
Mysqli_queries0.794793.6892570.0139
Looping result0.00060.0685550.0000
Template Total0.819696.620.4098
Template load0.00220.260820.0011
Template processing0.817396.358520.4087
Template load and register function0.00010.012510.0001
states
state_id_array0.00070.085110.0007
state_identifier_array0.00070.081120.0003
Override
Cache load0.00150.1805210.0001
Sytem overhead
Fetch class attribute can translate value0.00050.059320.0003
Fetch class attribute name0.00170.205750.0003
XML
Image XML parsing0.00100.123720.0005
class_abstraction
Instantiating content class attribute0.00000.001460.0000
General
dbfile0.00270.3206230.0001
String conversion0.00000.001340.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs