generated pages

Author Message

Francesco Sottile

Tuesday 05 April 2005 3:01:43 am

Hi all,

i would like to know if eZ Publish generates normal html pages from the given content or if it uses a caching system.

tnx

Kristian Hole

Tuesday 05 April 2005 11:00:56 am

I'm not exactly sure what you're asking, but i'll try to answer anyway. eZ publish generates html from the content objects stored in the database. This html generation takes some time, and is not always needed (if the content does not change). That is why the generated html often is cached, and this pregenerated cache used instead of rendering it fully each time. So the answer is: yes, both.

If you wonder if its possible to turn this of, then offcourse it is. This is useful when developing pages (but dead slow on production sites).

This page shows you how to turn off template caching (and to show which templates is being used for generating the page)
http://ez.no/ez_publish/documentation/customization/tips_tricks/show_which_templates_are_used

I hope this was helpful.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Francesco Sottile

Wednesday 06 April 2005 3:36:37 am

Tnx Kristian, that is exactly what i needed to know.

:)

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 15:09:23
Script start
Timing: Jan 18 2025 15:09:23
Module start 'layout'
Timing: Jan 18 2025 15:09:23
Module start 'content'
Timing: Jan 18 2025 15:09:23
Module end 'content'
Timing: Jan 18 2025 15:09:23
Script end

Main resources:

Total runtime0.0154 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.0060 588.8984152.6094
Module start 'layout' 0.00600.0030 741.507839.3984
Module start 'content' 0.00890.0048 780.906389.2578
Module end 'content' 0.01370.0016 870.164134.3047
Script end 0.0153  904.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002516.2843140.0002
Check MTime0.00127.6801140.0001
Mysql Total
Database connection0.00085.432810.0008
Mysqli_queries0.003120.454430.0010
Looping result0.00000.104110.0000
Template Total0.00138.710.0013
Template load0.00074.580110.0007
Template processing0.00064.143710.0006
Override
Cache load0.00053.250710.0005
General
dbfile0.00127.916280.0002
String conversion0.00000.038840.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