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


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo