Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Is it possible to remove output cache for parent node, but keep for children? View modes: 
User avatar
Certified Developer v6
Certified Developer v6
szarouski - 4/9/2012 4:34:50 PM
   
Is it possible to remove output cache for parent node, but keep for children?
Hello,

There could be a situation, when you want to remove output cache and use partial cache on parent node. But if parent node contain children, then I don't see a way to set output caching on them without going to each node (for example there could be thousands of news nodes) and changing output cache field. Also this will not work for newly created nodes.

Is there a work around?
Thanks

User avatar
Member
Member
kentico_michal - 4/10/2012 6:17:32 AM
   
RE:Is it possible to remove output cache for parent node, but keep for children?
Hi,

Regrettably, you will need to go through all child documents and change the Output cache property according to your needs [Properties -> General -> Output cache]. Or, you can use API to change the NodeCacheMinutes property of all child TreeNode objects.

Best regards,
Michal Legen

User avatar
Certified Developer v6
Certified Developer v6
szarouski - 4/10/2012 8:43:27 AM
   
RE:Is it possible to remove output cache for parent node, but keep for children?
Hi Michal,
Thanks for reply. I hope this will be included in feature release.

User avatar
Member
Member
kentico_michal - 4/10/2012 9:00:39 AM
   
RE:Is it possible to remove output cache for parent node, but keep for children?
Hi,

Regrettably, this feature will not be available in Kentico CMS 7.0. Anyway, I have set it as a future requirement, so we will consider it for one of the next versions (Kentico CMS 8.0 and higher).

Best regards,
Michal Legen