smartcache and role issue: it works only with anonmous ?!?

Author Message

Xavier Dutoit

Thursday 25 January 2007 6:59:51 am

Hi,

I have a structure for news like that (ez 3.7.x) :
- news
-- cat1
-- cat2
--- sub cat 2.1
---- news A imported by RSS
---- news B imported by RSS
--- sub cat 2.2
---- news C imported by RSS
---- news D imported by RSS

On any cat1 or cat 2.1, I display all the news that are imported under it (a tree fetch).

On my viewcache.ini.append, I have

[news]
DependentClassIdentifier[]
DependentClassIdentifier[]=folder
DependentClassIdentifier[]=link
DependentClassIdentifier[]=page
ClearCacheMethod=clear_object
MaxParents=10

News, cat1, sub cat 1.1... are either a folder, a page or a link

It works fine for anonymous and everything is properly recalculated every time you got a new import from the RSS. However, it doesn't clear the content cache for all the users having another role, and there the pages are never recalculated.

Is there a magic option to list all the roles that should be cleared with the clear cache ? Is this a known bug/limitation ?

X+

http://www.sydesy.com

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 19 2025 21:34:51
Script start
Timing: Jan 19 2025 21:34:51
Module start 'layout'
Timing: Jan 19 2025 21:34:51
Module start 'content'
Timing: Jan 19 2025 21:34:51
Module end 'content'
Timing: Jan 19 2025 21:34:51
Script end

Main resources:

Total runtime0.0163 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.0053 589.4375152.6563
Module start 'layout' 0.00530.0026 742.093839.4922
Module start 'content' 0.00790.0064 781.585989.5547
Module end 'content' 0.01430.0020 871.140630.3047
Script end 0.0163  901.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002414.7995140.0002
Check MTime0.00106.2984140.0001
Mysql Total
Database connection0.00095.233510.0009
Mysqli_queries0.002213.704030.0007
Looping result0.00000.061410.0000
Template Total0.00169.910.0016
Template load0.00085.099010.0008
Template processing0.00084.809310.0008
Override
Cache load0.00063.533910.0006
General
dbfile0.00148.455880.0002
String conversion0.00000.035140.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