Tuesday 13 July 2010 6:06:39 am - 5 replies
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
Tuesday 13 July 2010 10: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
Wednesday 30 May 2012 5:31:43 pm
Quote from Ivo Lukač :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.phpAnd clear ini cache
Cheers
Hello,
I added in the file "settings\siteaccess\my_site\site.ini.append.php"
[TemplateSettings]
TemplateCache=disabled
but it doesn't work. I still have to clear the cache to see my template changes
Wednesday 30 May 2012 8:27:13 pm
Luca, to have new templates picked up as soon as you edit them, you need to set DevelopmentMode=enabled as well (always in the TemplateSettings block)
You shouls also check that in setting/override/site.ini.append.php those values are not changed, as the settings file in the override folder has higher priority than the ones in the siteaccess folders
You must be logged in to post messages in this topic!