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
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
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):
And clear ini cache
I added in the file "settings\siteaccess\my_site\site.ini.append.php"
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!