0

I have output caching implemented at controller level

[OutputCache(CacheProfile = "MyProfile")]
public Result MyControllerAction()....

I have some text in matching view (Views/MyController/MyControllerAction.aspx) that needs to change with each page load, even though the returned page is cached. I think this is also called donut caching.

How can I accomplish this? And where do I need to put the callback function if indeed this is possible. Can I specify the callback on Controller level or Page level.

Thanks

--MB

1 Answer 1

0

ASP.Net MVC does not yet support donut caching; it's planned for version 3.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.