Questions tagged [donut-caching]

Donut caching is a type of caching where most of the content is cached, with a little 'hole' of content that is not cached.

Donut caching refers to the type of caching that enable you to cache an entire page's output — while leaving a few dynamic region markers to indicate places in the HTML output where you want to dynamically "fill-in" content on later requests (for example: the current user's name).

Donut caching is the opposite of partial page caching — the type of caching that is more commonly used — where most of the page is not cached but select individual parts are cached.

33 questions
0
votes
2 answers

I need help doing a Regex.Replace with multiple results

I'm building a custom page caching utility that uses a syntax like {Substitution:GetNonCachedData} to get data that's not supposed to be cached. The solution is very similar to the built-in <@ OutputCache %> stuff but not as flexible (I don't need…
Micah
  • 111,873
  • 86
  • 233
  • 325
0
votes
1 answer

How to do donut caching with c# mvc and Varnish?

I added to varnish config sub vcl_fetch { set beresp.do_esi = true; } } In my mvc application I've a childaction
@* this should not be cached, I change the returned value in my DB *@ 1 @Html.Action("GetHour", "Index", new { id =…
ramires.cabral
  • 910
  • 4
  • 13
  • 28
0
votes
1 answer

MVCDonutCaching - how to remove Child action cache MVC Donut Caching

I'm using this MVCDonutCaching Nuget package because in the tutorial they said this was possible with child actions. This question didn't work for me or I didn't understand it correctly. If someone knows how to delete the child cache with the…
LockTar
  • 5,364
  • 3
  • 46
  • 72
1 2
3