Roles/Permissions included in Cache Hash Key ?

Author Message

Esben Maaløe

Monday 11 August 2003 9:12:22 am

It seems that the cache does not take permissions into account...

Which means that folders containing items with different accesslevels will sometimes show items the current user has no access to (they still wont have access, but they are shown the links) OR items that a user HAS access to will not be shown.

If somehow the cache system would differ between different levels of access this could be avoided.

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 18 2025 10:27:16
Script start
Timing: Jan 18 2025 10:27:16
Module start 'layout'
Timing: Jan 18 2025 10:27:16
Module start 'content'
Timing: Jan 18 2025 10:27:18
Module end 'content'
Timing: Jan 18 2025 10:27:18
Script end

Main resources:

Total runtime1.1903 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.0469152.6406
Module start 'layout' 0.00770.0050 740.687539.4766
Module start 'content' 0.01281.1760 780.1641398.4531
Module end 'content' 1.18880.0015 1,178.61728.1250
Script end 1.1902  1,186.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2702160.0002
Check MTime0.00130.1121160.0001
Mysql Total
Database connection0.00110.096110.0011
Mysqli_queries1.153996.9417460.0251
Looping result0.00040.0353440.0000
Template Total1.147096.420.5735
Template load0.00190.156320.0009
Template processing1.145296.210320.5726
Template load and register function0.00020.013110.0002
states
state_id_array0.00330.275610.0033
state_identifier_array0.00250.207920.0012
Override
Cache load0.00140.119360.0002
Sytem overhead
Fetch class attribute can translate value0.00060.050810.0006
Fetch class attribute name0.00070.058310.0007
XML
Image XML parsing0.00020.014710.0002
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00070.0582100.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs