Forums / General / How can I disable cache?

How can I disable cache?

Author Message

Steven Stieng

Wednesday 09 June 2010 2:29:23 am

How can I turn off ALL caching?
I have the following code in my site.ini.append.php: 
[OverrideSettings]
Cache=disabled
 
What more is needed to turn off the caching? 

Steven Stieng

Wednesday 09 June 2010 6:33:58 am

After some more Googling, I finally found the answer (I think).

In site.ini.append.php file, you have to add the following:

[TemplateSettings]
DevelopmentMode=enabled

Lars Eirik R

Wednesday 09 June 2010 7:55:35 am

This is a good way to start with every project of yours: (site.ini.append.php)

### DEVELOPMENT ONLY ###
[MailSettings]
Transport=file
[DebugSettings]
DebugOutput=enabled
DebugRedirection=disabled
DebugToolbar=disabled
DebugByIP=disabled
DebugByUser=disabled
[TemplateSettings]
TemplateCompile=disabled
TemplateCache=disabled
DevelopmentMode=disabled
ShowUsedTemplates=enabled
Debug=disabled
ShowXHTMLCode=disabled
[ContentSettings]
ViewCaching=disabled
[DatabaseSettings]
SQLOutput=disabled