Hello,
I would like to use RenderAction in my Master Layout to render some
information from a controller.
What I should do is :
- Create a controller with a method returning a View like
MyViewPartial.spark fron the ControllerName folder ?
In my master I will have a call like this : !
{Html.RenderAction<Controller>(c => c.Method())}
But if I want to cache the result, I will certainly hit this problem :
http://haacked.com/archive/2009/05/12/donut-hole-caching.aspx
The solution from this blog post is for the WebForm view engine,
There's a way to use Spark to cache the partial result ?
Thanks
Matthieu