Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Monday 29 November 2010 6:24:03 am - 4 replies
Heath
Monday 29 November 2010 11:05:37 pm
Hello John,
Try adding this to templates you wish to remain uncached.
{set-block scope=root variable=cache_ttl}0{/set-block}
I hope this helps.
Cheers,
Brookins Consulting | http://brookinsconsulting.com/ Certified | http://auth.ez.no/certification/verify/380350 Solutions | http://projects.ez.no/users/community/brookins_consulting eZpedia community documentation project | http://ezpedia.org
John Mangadan
Tuesday 30 November 2010 1:43:04 am
Hello John,Try adding this to templates you wish to remain uncached. {set-block scope=root variable=cache_ttl}0{/set-block}I hope this helps.Cheers,Heath
I added this , but there is no change. It is still caching the template. Any idea?
Andy Caiger
Friday 10 December 2010 3:09:29 am
We have had the same problem since upgrading from eZ Publish 4.2 to 4.3. The above line was always there in the template, and it used to work before the upgrade.
Help!
EAB - Integrated Internet Success Offices in England, France & China. http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com
Sujit Sth
Tuesday 04 January 2011 9:09:25 pm
Disable cache
Follow the following instruction.
1. Go to your template file: eg:E:\xampp\htdocs\ezpublish\settings\siteaccess\your_site\site.ini.append.php
2. Place the following code:
[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
Go and enjoy the code !!!!!!
For detail follow the link below:
http://blog.developeronhire.com/tag/disble-cache/
Regards,
Sujeet
You must be logged in to post messages in this topic!