Content cache update

Author Message

Jan Borsodi

Friday 28 February 2003 7:42:10 am

For those of you running the lastest SVN version there has been an update for the content cache.

The template design keys will now be set from cache files meaning that you can do checks on them in the pagelayout.

Also a timestamp is added to all cache files to indicate the format of the cache incase new elements are added later on, if the timestamp differs the cache is not used. This should make upgrades easier.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Tony Wood

Saturday 01 March 2003 3:31:37 am

> For those of you running the lastest SVN version there has
> been an update for the content cache.
>
> The template design keys will now be set from cache files
> meaning that you can do checks on them in the pagelayout.
>
> Also a timestamp is added to all cache files to indicate the
> format of the cache incase new elements are added later on,
> if the timestamp differs the cache is not used. This should
> make upgrades easier.

Thanks Jan,

It works a treat :)

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

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

Main resources:

Total runtime1.5043 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.0060 587.9141152.6250
Module start 'layout' 0.00600.0037 740.539139.4453
Module start 'content' 0.00971.4929 779.9844531.7109
Module end 'content' 1.50260.0017 1,311.695312.3281
Script end 1.5043  1,324.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.2707160.0003
Check MTime0.00140.0911160.0001
Mysql Total
Database connection0.00090.061710.0009
Mysqli_queries1.456196.7981540.0270
Looping result0.00060.0389520.0000
Template Total1.461797.220.7309
Template load0.00280.183320.0014
Template processing1.459096.985720.7295
Template load and register function0.00010.006710.0001
states
state_id_array0.00240.158310.0024
state_identifier_array0.00180.120620.0009
Override
Cache load0.00240.1567210.0001
Sytem overhead
Fetch class attribute can translate value0.00100.064020.0005
Fetch class attribute name0.00080.054640.0002
XML
Image XML parsing0.00090.059820.0005
class_abstraction
Instantiating content class attribute0.00000.000440.0000
General
dbfile0.00290.1946230.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
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
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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs