How to disable css caching?

Author Message

Vytautas Germanavičius

Friday 22 January 2010 1:19:14 am

ez4.2 combines all css files to one big file.

How to disable this feature for developemnt period?

{set-block scope=root variable=cache_ttl}0{/set-block}

André R.

Friday 22 January 2010 4:19:03 am

It will automatically be turned off if you enable [TemplateSettings]DevelopmentMode in site.ini, and you also have specific setting for it in ezjscore.ini if your not really in "development mode" :)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Ugo Giacalone

Friday 12 February 2010 8:32:00 am

Set in site.ini

[TemplateSettings]
DevelopmentMode=enabled

Set in ezjscore.ini

[eZJSCore]
Packer=disabled

Mauricio Sánchez

Thursday 16 June 2011 12:03:04 pm

Hi Guys!

I want to have the opposite:

DevelopmentMode enabled and JS/CSS Packer enabled.

Any ideas on how to do that?

Vytautas Germanavičius

Thursday 16 June 2011 1:05:16 pm

Do I understand you correctly: you followed instructions above, but still have packed css?

I had similar situaltion. Please check, my mistakes was :

1. did you cleared cache? php ./bin/php/ezcache.php --clear-all --purge

2. example contains spaces. you have to delete all spaces at the end of each line.

{set-block scope=root variable=cache_ttl}0{/set-block}

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

Main resources:

Total runtime0.8823 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 587.9141152.6250
Module start 'layout' 0.00480.0020 740.539139.4453
Module start 'content' 0.00680.8739 779.9844631.1953
Module end 'content' 0.88070.0015 1,411.179712.1641
Script end 0.8822  1,423.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3585160.0002
Check MTime0.00130.1474160.0001
Mysql Total
Database connection0.00060.073410.0006
Mysqli_queries0.712780.7749670.0106
Looping result0.00080.0856650.0000
Template Total0.740283.920.3701
Template load0.00230.255420.0011
Template processing0.738083.643220.3690
Template load and register function0.00010.009510.0001
states
state_id_array0.00090.099510.0009
state_identifier_array0.00120.134320.0006
Override
Cache load0.00190.2136270.0001
Sytem overhead
Fetch class attribute can translate value0.00080.087740.0002
Fetch class attribute name0.00200.228270.0003
XML
Image XML parsing0.00130.146740.0003
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00090.0992230.0000
String conversion0.00000.000840.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs