Donut caching and output cache in R2

Member since: 2006

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?


#28823 Mar 23, 2009 17:17
  • Anders Hattestad
    Member since: 1996
    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
  • morten.sorby
    Member since: 2006

    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.


    #28848 Mar 25, 2009 7:55
  • Anders Hattestad
    Member since: 1996
    Cool, have to try that out
    #28849 Mar 25, 2009 8:00
  • Jeff Wallace
    Member since: 2009

    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