OutputCache in ASP.NET MVC ?

View: New views
3 Messages — Rating Filter:   Alert me  

OutputCache in ASP.NET MVC ?

by michaeltheplumber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

i use this Syntax with my controller methods:
[OutputCache(Duration = 60, VaryByParam = "myparam", Location = System.Web.UI.OutputCacheLocation.ServerAndClient)]

it seems to be ignored, caching doesn't happen (works fine in VS).
Can somebody tell me if this is  implemented ?
Another post i found is about webmethods, which seem to have the same problem.

Thanks, Michael


Re: OutputCache in ASP.NET MVC ?

by michaeltheplumber () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Re: OutputCache in ASP.NET MVC ?

by Marek Habersack-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

michaeltheplumber wrote:
>
> i worked around it by implementing this
> http://blog.maartenballiauw.be/post/2008/06/26/Creating-an-ASPNET-MVC-OutputCache-ActionFilterAttribute.aspx
> works great !
Then it's weird OutputCacheAttribute doesn't work - they both do, in essence, the same thing. Please
  file a bug with a sample which reproduces the issue.

marek
> Thanks Michael
>

_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list@...
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list