Forums / Setup & design / Cache doesn't refresh after content publish

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