OutputCache exclude Layout in Mvc 4 -
could figure out how exclude layout outputcaching of whole page. working on existing project. in home/index, going use output cache in index.cshtml there layout="~/views/shared/_layout.cshtml". in _layout.cshtml, handles member information. question is, how disable cache of _layout.cshtml. have done lots of research donut, childaction, ..., still confused. please help. many thanks.
donut caching , donut hole similar thing, try example http://www.dotnet-tricks.com/tutorial/mvc/odja210113-donut-caching-and-donut-hole-caching-with-asp.net-mvc-4.html