Doubt with ez cache

Author Message

Leonardo López

Wednesday 22 February 2006 6:07:46 am

Hi, i have a little doubt about the cache managament...

I don't understand how works the cache in ezpublish yet, each object (for example news, contacts, etc..) are stored in database) anytime that a user request a new, the system query the database? or exist some kind of static template to show the new? or the systems works with the templates cache and the content is in database? my doubt is: if the system always make consults in database it is not slow?

Łukasz Serwatka

Monday 27 February 2006 1:32:51 am

Take a look at this pages:
http://ez.no/products/ez_publish/documentation/incoming/temporary/concepts/caching_overview/view_caching

http://ez.no/products/ez_publish/documentation/configuration/optimization/caching_for_improved_speed

http://ez.no/products/ez_publish/documentation/development/kernel/cache_block_optimization

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Leonardo López

Wednesday 01 March 2006 11:21:56 am

Thanks for answer Lukasz

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

Main resources:

Total runtime0.0158 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 587.7891152.6094
Module start 'layout' 0.00480.0033 740.398439.4297
Module start 'content' 0.00800.0059 779.828189.2734
Module end 'content' 0.01390.0019 869.101630.3047
Script end 0.0158  899.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.5302140.0002
Check MTime0.00117.0045140.0001
Mysql Total
Database connection0.00064.034410.0006
Mysqli_queries0.002415.390030.0008
Looping result0.00010.500510.0001
Template Total0.00159.310.0015
Template load0.00085.089810.0008
Template processing0.00074.222910.0007
Override
Cache load0.00053.137410.0005
General
dbfile0.001710.506780.0002
String conversion0.00000.061840.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