Cache doesn't refresh properly on a fetch/tree

Author Message

Xavier Dutoit

Wednesday 19 October 2005 5:49:22 am

Hello,

On several pages, I have lists of the latest items of one type (eg the latest links)

{set news_list=fetch( content, tree, hash( parent_node_id, $parentnode_id, limit, $limit,sort_by, array( published, false()),'main_node_only',true(), 'class_filter_type',  'include','class_filter_array', $include_classes ) )}

The pages containing these lists aren't cleared when a new content is published (or not always). Is there a setting to force the clear of these pages ?

X+

http://www.sydesy.com

Marko Žmak

Wednesday 19 October 2005 6:29:53 am

Maybe this has something to do with PreviewCache? I noticed that sometimes in the admin interface objects don't appear when they are published if PreviewCache is enabled.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Xavier Dutoit

Wednesday 19 October 2005 7:01:58 am

Hi Marko,

I don't think that's the issue, as the content is submitted from the public website (by anonymous users), and approved on the workflow.

I've tried to change the Previewcache settings. No difference.

Any other suggestion ?

http://www.sydesy.com

Roy Bøhmer

Thursday 20 October 2005 3:15:09 am

I experienced a similar problem. It turned out to be the Smart viewcache cleaning system that wasnt set up properly in viewchache.ini. See http://ez.no/products/ez_publish_cms/documentation/incoming/smart_viewcache_cleaning_system.

Well, thats my best shot.

roy

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 06:23:53
Script start
Timing: Jan 31 2025 06:23:53
Module start 'layout'
Timing: Jan 31 2025 06:23:53
Module start 'content'
Timing: Jan 31 2025 06:23:53
Module end 'content'
Timing: Jan 31 2025 06:23:53
Script end

Main resources:

Total runtime0.0165 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.0056 588.2656151.2266
Module start 'layout' 0.00560.0033 739.492236.6953
Module start 'content' 0.00900.0058 776.187594.2188
Module end 'content' 0.01470.0017 870.406333.9922
Script end 0.0164  904.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002816.9984140.0002
Check MTime0.00127.1462140.0001
Mysql Total
Database connection0.00095.236910.0009
Mysqli_queries0.003219.290230.0011
Looping result0.00000.097110.0000
Template Total0.00127.410.0012
Template load0.00095.680110.0009
Template processing0.00031.719510.0003
Override
Cache load0.00073.962010.0007
General
dbfile0.00105.898980.0001
String conversion0.00000.055040.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