Forums / General / cache clearing broken

cache clearing broken

Author Message

Matthew Carroll

Thursday 18 October 2007 10:36:15 am

I'm experiencing a problem with cache clearing. When content is changed in the admin site, the changes do not show up on the public site unless caches are manually cleared:

http://issues.ez.no/11548

I'm as sure as I can be it's a bug, since it began to affect sites that were previously working correctly when I upgraded the 3.9 codebase.

Has anyone else seen this? This is holding up completion of a project, as well as affecting other sites on our server, so I really need to resolve this.

Thanks
Matthew

http://carroll.org.uk

Damien Pobel

Thursday 18 October 2007 2:02:28 pm

Hi Matthew,

Since eZ Publish 3.8 you need to specify siteaccesses in the setting RelatedSiteAccessList located in site.ini to have a correct behaviour of ViewCaching.
See http://ez.no/doc/ez_publish/technical_manual/3_8/features/view_caching/configuring_the_view_cache#eztoc33792_3

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Matthew Carroll

Thursday 18 October 2007 2:36:40 pm

Thanks Damien.

I wish it were that simple. Unfortunately the RelatedSiteAccessList is specified correctly in site.ini.append.php for the user and admin sites, and this issue appeared on existing 3.9 sites on our server that were working correctly before.

http://carroll.org.uk

Stéphane Bullier

Monday 04 February 2008 12:46:41 am

Hello,

I encounter the same problem with version 3.9.4.

I read the problem http://issues.ez.no/11548. No solution ?

Thanks.

Stéphane

André R.

Monday 04 February 2008 1:55:28 am

In one other similar case recently it was the file permission that was wrong after the upgrade.
Verified this on a clean install??

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Stéphane Bullier

Monday 04 February 2008 2:15:24 am

Hello André,

Yes, I verified this on clean install with permission 770 on var folder.

Stéphane

Stéphane Bullier

Tuesday 05 February 2008 4:43:46 am

Hello,

I apply all recommendations of Łukasz Serwatka's article
http://ez.no/developer/articles/ez_publish_performance_optimization_part_3_of_3_practical_cache_and_template_solutions

I can't find solution of my problem.

Help me please.

Thanks.

Stéphane