Caching

Author Message

Zinistry Vacana

Tuesday 27 May 2003 5:57:08 am

I have som problem with caching. I have to run clearcache.sh after every change I make in the admin-part, so the change shall be visible. Does anyone know if I can set this do be emptied every 10 second or so in the eZ system? Caching on is good, but not if I can't see the changes ;)

Best regards

Karsten Jennissen

Tuesday 27 May 2003 6:00:08 am

Hi,
the best solution is to turn off caching while you develop. See user docs -> How-tos for further info.

Regards,
Karsten

Zinistry Vacana

Tuesday 27 May 2003 6:03:23 am

It's not under the template changes etc., but when users publish content. It will not be visible until I clear the cash.. ehe..

Tony Wood

Tuesday 27 May 2003 7:30:45 am

If you are using cache-blocks these are not cleared by the current 3.0 stable release.
Grab the clearcache.sh from svn trunk or get it from here
http://ez.no/developer/ez_publish_3/contributions/binshellclearcachesh_fix_to_clear_cacheblocks

This will ensure the cache block cache is cleared too..

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

Main resources:

Total runtime1.2571 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.7813152.6094
Module start 'layout' 0.00510.0030 740.390639.3984
Module start 'content' 0.00811.2476 779.7891576.5625
Module end 'content' 1.25570.0013 1,356.351612.2109
Script end 1.2570  1,368.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2507160.0002
Check MTime0.00130.1016160.0001
Mysql Total
Database connection0.00090.074010.0009
Mysqli_queries1.210396.2792620.0195
Looping result0.00060.0493600.0000
Template Total1.225597.520.6128
Template load0.00210.169020.0011
Template processing1.223497.321920.6117
Template load and register function0.00030.020410.0003
states
state_id_array0.00120.094310.0012
state_identifier_array0.00110.083720.0005
Override
Cache load0.00180.1406180.0001
Sytem overhead
Fetch class attribute can translate value0.00060.048430.0002
Fetch class attribute name0.00150.123150.0003
XML
Image XML parsing0.00080.061130.0003
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.00070.0545160.0000
String conversion0.00000.000640.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs