November Happy Hour will be moved to Thursday December 5th.

Donut caching and output cache in R2

Vote:
 

Hi all,

I am developing a site that uses output caching through EPiServer. I need a part of a page (an Extension function) to be excluded from the output cached since it contains a Captcha image. Is there any way to exclude this user control from the output cache?

 I have tried  the PartialCaching(0) attribute for the Extension function user control, but Extension doesn´t allow this attribute. What to do?

Regards,
Tobias

#28823
Mar 23, 2009 17:17
Vote:
 
Quess you need to do your own area caching. EPiServer do all or nothing as far as I know. have some area cache code you can try. send me a mail if you want it
#28845
Mar 25, 2009 0:39
Vote:
 

Have look at the asp:Substitution control, it gives you the ability to insert a string into a cached page. I use it on an EPiServer site with caching.

In your case you could insert the url to the Captacha image, or image handler.

//Morten 

#28848
Mar 25, 2009 7:55
Vote:
 
Cool, have to try that out
#28849
Mar 25, 2009 8:00
Vote:
 

Did any of you get the donut caching working successfully?  If so, can you provide some additional details on your approach?  Thanks!

#56228
Jan 12, 2012 16:58
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.