Disabling "Clear all caches"

Author Message

olagato olagato

Thursday 17 January 2008 10:06:01 am

Hi, I'm newbie eZ developer:

Everytime I have to test a change in "eZ code" in Dreamweaver, I have to "clear all caches" in eZ "admin zone" ("Configuration" tab) and push "F5" in the navigator.
This takes much time between every change, specially the "clear all caches" proccess.

Is there a way to disable the "clear all caches" proccess so that I only had to push "F5" to see the changes in the navigator ?

Łukasz Serwatka

Saturday 26 January 2008 2:00:48 pm

Hi,

In site.ini.append.php for siteaccess that you are developing put

[TemplateSettings]
TemplateCompile=disabled
TemplateCache=disabled
DevelopmentMode=enabled

[ContentSettings]
ViewCaching=disabled

Remember to reverse (enable) this settings when site goes live!

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

olagato olagato

Tuesday 29 January 2008 3:12:23 am

SOLVED !!!

Thank you very much Łukasz.
This works fine now: I only had to modify this file with your changes:
C:\eZpublish\ezpublish\settings\override\site.ini.append.php

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

Main resources:

Total runtime0.7004 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.9141152.6250
Module start 'layout' 0.00560.0037 740.539139.4453
Module start 'content' 0.00930.6896 779.9844544.4219
Module end 'content' 0.69890.0015 1,324.406312.4766
Script end 0.7004  1,336.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4652160.0002
Check MTime0.00140.1965160.0001
Mysql Total
Database connection0.00100.138310.0010
Mysqli_queries0.643591.8759570.0113
Looping result0.00060.0863550.0000
Template Total0.665194.920.3325
Template load0.00220.318420.0011
Template processing0.662894.627420.3314
Template load and register function0.00020.028810.0002
states
state_id_array0.00090.134510.0009
state_identifier_array0.00170.249820.0009
Override
Cache load0.00180.2587200.0001
Sytem overhead
Fetch class attribute can translate value0.00070.093520.0003
Fetch class attribute name0.00110.155750.0002
XML
Image XML parsing0.00530.751120.0026
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00500.7103240.0002
String conversion0.00000.001140.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs