Problems with caching..

Author Message

K259

Thursday 13 July 2006 7:03:09 am

When I publish content at our site, the content under Forum - latest posts are not shown, but when I enter the tread, the posts are shown. Guess this is a caching problem, but I don't know how to solve this.

..

Marcin Drozd

Friday 14 July 2006 7:39:32 am

Hi
Did U try with (viewcache.ini):

[ViewCacheSettings]
SmartCacheClear=enabled

[forum_topic]
DependentClassIdentifier[]
DependentClassIdentifier[]=forum
ClearCacheMethod=clear_object_and_relating_objects_caches

[forum_reply]
DependentClassIdentifier[]
DependentClassIdentifier[]=forum
ClearCacheMethod=clear_object_and_relating_objects_caches

[forum]
DependentClassIdentifier[]
DependentClassIdentifier[]=folder
MaxParents=1
ClearCacheMethod=clear_object_and_relating_objects_caches

http://ez-publish.pl

Marcin Drozd

Friday 14 July 2006 7:45:16 am

Mayby try with
{set-block scope=root variable=cache_ttl}0{/set-block}
(first line of forum template)

http://ez-publish.pl

K259

Friday 14 July 2006 11:03:06 am

Yes I tried {set-block scope=root variable=cache_ttl}0{/set-block} earlier this day and it worked, but now the pages are not cached, and ez is sloooow :p

Kristof Coomans

Tuesday 18 July 2006 1:48:59 am

Try to use a cache-block ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_functions/miscellaneous/cache_block ) with a subtree expiry on the forum subtree.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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