How to disabled template cache by settings file

Author Message

bruce luo

Monday 12 July 2010 9:06:39 pm

I want to disabled template cache,so I do these things.

1, in the file "\settings\site.ini ", I set "TemplateCache=disabled"

2. in the file "settings\siteaccess\plain_site_admin\site.ini.append.php" , I add

"[TemplateSettings]

TemplateCache=disabled"

3.clear all the cache by admin intenface

but it doesn't work,when I change the template file,It is stilling display the cache.

how to solve the problem? thanks

Ivo Lukac

Tuesday 13 July 2010 1:19:08 am

Changing settings/site.ini is not recommended.

If you want to disable template cache on your site you need to do that in your outer siteaccess (not in admin siteacces):
settings/siteaccess/plain_site/site.ini append.php

And clear ini cache

Cheers

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Bertrand Dunogier

Tuesday 13 July 2010 2:25:01 am

May I ask why you're disabling this ?

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Ivo Lukac

Tuesday 13 July 2010 3:20:57 am

Should be disabled for development mode only of course :)

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.