Cache??

Author Message

Noicokuna Niemoge

Monday 09 February 2009 2:38:58 am

Hello;

Did I notice correctly or is eZ creating cache for every user entering the site?? I don't understand why it should, isn't it taking too much space if there are thousands of visitors on the site?

Additionaly, it produces broken designs if a visitor enters the website from a different address and forces me to use redirects, pointing only to one address.

Cannot it be done in a way that only one type of cache is produced for different siteaccesses and different roles combinations?

Shiki soku ze ku...

André R.

Monday 09 February 2009 3:01:29 am

Cannot it be done in a way that only one type of cache is produced for different siteaccesses and different roles combinations? 

View cache: it does.
cache-block: it's totally up to you (only hard coded cache key is siteaccess name), you can modify / override template to your own needs.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Noicokuna Niemoge

Monday 09 February 2009 3:06:49 am

Okay, thank you very much for clarification. :)

Shiki soku ze ku...

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 04:31:40
Script start
Timing: Jan 18 2025 04:31:40
Module start 'layout'
Timing: Jan 18 2025 04:31:40
Module start 'content'
Timing: Jan 18 2025 04:31:40
Module end 'content'
Timing: Jan 18 2025 04:31:40
Script end

Main resources:

Total runtime0.6736 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 588.8984152.6094
Module start 'layout' 0.00790.0033 741.507839.3906
Module start 'content' 0.01120.6609 780.8984532.6484
Module end 'content' 0.67210.0015 1,313.546912.2109
Script end 0.6736  1,325.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.5570160.0002
Check MTime0.00130.1945160.0001
Mysql Total
Database connection0.00080.121910.0008
Mysqli_queries0.625692.8737570.0110
Looping result0.00050.0734550.0000
Template Total0.639795.020.3198
Template load0.00210.306320.0010
Template processing0.637694.655420.3188
Template load and register function0.00020.023110.0002
states
state_id_array0.00090.129010.0009
state_identifier_array0.00100.151620.0005
Override
Cache load0.00170.2508140.0001
Sytem overhead
Fetch class attribute can translate value0.00050.076720.0003
Fetch class attribute name0.00120.185540.0003
XML
Image XML parsing0.00060.087920.0003
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00080.1150170.0000
String conversion0.00000.001240.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs