Does anyone know if there is a way to easily find out if any content has been personalised on the current page. The reason behind this is I want to turn off output caching for the current page if it contains personalised content using the SetCachePolicy() method override.
Thanks in advance,
I haven't tried this, but there is a method in the EPiServer.Personalization namespace that looks promising:
// Gets the groups that are used for personalization on current page.
Thanks for that Mari. I'll give it a try and let you know how I go with it.