Caching - a problem when developing

Author Message

Jonny Bergkvist

Monday 16 June 2003 6:00:13 am

Hi,

We have some Cache-related-problems (common problem for web-development).

When we for instance created a new override-template, it would not work until we scratched the var/cache-folder.

We have the following setting in settings/override/site.ini.append.php:
[ContentSettings]
ViewCaching=disabled

Is there any more caching-related parameters to turn off?

Any other suggestions what to do to minimize such frustrating problems?

Jonny Bergkvist

Tony Wood

Monday 16 June 2003 6:05:29 am

Turning cache off works for all but template-block, but if you are having a problem. For Linux try chmod 000 var/cache. That way apache can't see directory.

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

Main resources:

Total runtime0.0179 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.0053 587.9219152.6250
Module start 'layout' 0.00530.0042 740.546939.4609
Module start 'content' 0.00940.0066 780.007889.3359
Module end 'content' 0.01600.0019 869.343830.3047
Script end 0.0179  899.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002312.9569140.0002
Check MTime0.00115.9125140.0001
Mysql Total
Database connection0.00073.853810.0007
Mysqli_queries0.003921.783130.0013
Looping result0.00000.134510.0000
Template Total0.00158.310.0015
Template load0.00084.658110.0008
Template processing0.00063.495610.0006
Override
Cache load0.00063.154710.0006
General
dbfile0.00169.123180.0002
String conversion0.00000.050640.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