Forums / General / Disable cache for some sections

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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