Forums / General / Disable cache for some sections

Disable cache for some sections

Author Message

Philip K.

Monday 22 October 2007 3:26:21 am

Hello.

Is it possible to disable cache for only some section?

Cache has to be enabled for the whole website. But in some sections I don't want the cache to be used.

Thanks for your help,
Philip

Linux is like a wigwam; no windows, now gates, and apache inside!

Mark Marsiglio

Monday 22 October 2007 6:17:48 am

You can selectively enable cache blocks in your templates by section. Wrap the cache block code in a switch that is based on section

{$DesignKeys:used.section}

can be used for this to identify the section.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions