need explanation about the cache

Author Message

François Xavier Lacroix

Wednesday 16 November 2005 1:23:11 am

Hello,

Does anybody know how the cache is made, how it compiled some templates into php, what is the architecture of cache files it is making...and the images by the way ?

I wonder if there is a documentation about that somewhere.

Thx for advices.

Xavier Dutoit

Wednesday 16 November 2005 5:38:53 am

Salut,

Well, if you want to know how it works, I'm afraid you'll have to dig the code.

If you want to know how to finetune The .ini (for instance the smartcache.ini) is well commented.

Have a look at this thread too for the general settings:

http://ez.no/content/view/full/75335/(offset)/20

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

Main resources:

Total runtime0.5713 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 589.3516152.6250
Module start 'layout' 0.00420.0031 741.976639.4453
Module start 'content' 0.00740.5627 781.4219525.2734
Module end 'content' 0.57010.0011 1,306.69538.1563
Script end 0.5712  1,314.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5726160.0002
Check MTime0.00140.2401160.0001
Mysql Total
Database connection0.00070.115410.0007
Mysqli_queries0.529992.7675540.0098
Looping result0.00050.0831520.0000
Template Total0.545595.520.2728
Template load0.00220.381420.0011
Template processing0.543395.113720.2717
Template load and register function0.00020.033310.0002
states
state_id_array0.00110.191710.0011
state_identifier_array0.00070.128220.0004
Override
Cache load0.00170.2928150.0001
Sytem overhead
Fetch class attribute can translate value0.00060.110820.0003
Fetch class attribute name0.00100.179540.0003
XML
Image XML parsing0.00110.195920.0006
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00090.1495220.0000
String conversion0.00000.001840.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs