Forums / Install & configuration / Caching system

Caching system

Author Message

Franck T.

Wednesday 01 February 2006 6:38:23 am

Hello,
Has anyone ever use a PhP cachnig system like <b>jpcache</b> or <b>phpCache</b> in ezPublish ?
In the case of jpCache, for example, one must add a require line to the top of all php files...
It seems to be really heavy, but I'll be happy to hear you about this.
Thanks.

Thomas Nunninger

Wednesday 01 February 2006 6:57:21 am

Hi,

why do you want to do this? Have you looked at the various caching possibilities in eZ publish? Static cache, templates, template-blocks (Have I forgotten something?)

Have a nice day

Thomas

Franck T.

Thursday 02 February 2006 12:13:36 am

I've enabled :
- preview cache
- view cache
- template cache
- template compile
Please let me know what else can be improved (and where to set it).
Thanks.

Thomas Nunninger

Thursday 02 February 2006 12:49:26 am

Hi,

it always depend on what you want to do. (See my answer to your first posting asking for your reasons.) At the moment I can give you the keywords

- static cache

- smart cache and

- cache-block.

But what are your problems you want to solve?

Have a nice day

Thomas

Franck T.

Friday 03 February 2006 2:58:01 am

Thanks Thomas.
This seems to be what I expected: http://ez.no/community/forum/general/ez_speed_optimisation_faq

eZ debug

Timing: Jan 18 2025 20:53:51
Script start
Timing: Jan 18 2025 20:53:51
Module start 'content'
Timing: Jan 18 2025 20:53:52
Module end 'content'
Timing: Jan 18 2025 20:53:52
Script end

Main resources:

Total runtime0.6156 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 587.7031180.8438
Module start 'content' 0.00740.6012 768.5469531.2969
Module end 'content' 0.60860.0070 1,299.843842.4375
Script end 0.6155  1,342.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4842140.0002
Check MTime0.00130.2120140.0001
Mysql Total
Database connection0.00120.197710.0012
Mysqli_queries0.562591.3761640.0088
Looping result0.00060.1029620.0000
Template Total0.580594.320.2902
Template load0.00210.342120.0011
Template processing0.578493.950120.2892
Template load and register function0.00020.029710.0002
states
state_id_array0.00140.230710.0014
state_identifier_array0.00130.209020.0006
Override
Cache load0.00170.2760350.0000
Sytem overhead
Fetch class attribute can translate value0.00080.122920.0004
Fetch class attribute name0.00110.175560.0002
XML
Image XML parsing0.00210.343720.0011
class_abstraction
Instantiating content class attribute0.00000.002370.0000
General
dbfile0.00681.0972180.0004
String conversion0.00000.001030.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs