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.

eZ debug

Timing: Jan 31 2025 05:59:57
Script start
Timing: Jan 31 2025 05:59:57
Module start 'layout'
Timing: Jan 31 2025 05:59:57
Module start 'content'
Timing: Jan 31 2025 05:59:57
Module end 'content'
Timing: Jan 31 2025 05:59:57
Script end

Main resources:

Total runtime0.0132 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.0234151.1953
Module start 'layout' 0.00490.0018 739.218836.6172
Module start 'content' 0.00670.0052 775.835994.2188
Module end 'content' 0.01190.0013 870.054733.9922
Script end 0.0132  904.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002317.0693140.0002
Check MTime0.00107.6503140.0001
Mysql Total
Database connection0.00097.010210.0009
Mysqli_queries0.001813.665230.0006
Looping result0.00000.075710.0000
Template Total0.00097.210.0009
Template load0.00075.286510.0007
Template processing0.00021.867910.0002
Override
Cache load0.00053.735910.0005
General
dbfile0.001611.746880.0002
String conversion0.00000.054140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs