long times when ez's cache is off.

Author Message

Andres Hernandez

Wednesday 12 April 2006 11:12:38 am

Hi guys,

As you may experience yourself, doing development on an ez site implies a lot of changes to the templates to confirm everything is working correctly. That is why we turn ez's cache off when working on those templates.

The thing is that the time it takes for a page to load is of about 20 secs. on the dev. box. The question is:

Is there any way around this? how do you guys handle this?

Thanks,
A.

Kåre Køhler Høvik

Thursday 13 April 2006 3:11:15 am

Hi

Depending on what you're developing, you can enable some of the caching types. For example the ini cache can probably be enabled at all times. If you're only doing changes to main templates, you can enable template compilation as well.

Generally, it's recommended to use a PHP accelerator.

Kåre Høvik

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 31 2025 06:14:05
Script start
Timing: Jan 31 2025 06:14:05
Module start 'layout'
Timing: Jan 31 2025 06:14:05
Module start 'content'
Timing: Jan 31 2025 06:14:05
Module end 'content'
Timing: Jan 31 2025 06:14:05
Script end

Main resources:

Total runtime0.0135 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.0052 588.2578151.2266
Module start 'layout' 0.00520.0019 739.484436.6797
Module start 'content' 0.00710.0050 776.164190.1875
Module end 'content' 0.01210.0013 866.351629.9922
Script end 0.0135  896.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002115.2331140.0001
Check MTime0.00096.4936140.0001
Mysql Total
Database connection0.00085.897610.0008
Mysqli_queries0.002115.627430.0007
Looping result0.00000.058410.0000
Template Total0.00117.810.0011
Template load0.00086.000210.0008
Template processing0.00021.771910.0002
Override
Cache load0.00053.678310.0005
General
dbfile0.001511.266580.0002
String conversion0.00000.035440.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