Forums / Developer / How to disable css caching?

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}