Output Caching - why doesn't it seem to do the job?

Posted by Jon on Stack Overflow See other posts from Stack Overflow or by Jon
Published on 2010-05-20T13:48:10Z Indexed on 2010/05/20 13:50 UTC
Read the original article Hit count: 118

Filed under:
|

Hi, I have quite a big user control which creates an ASP.NET tab menu and within each tab a lengthy set of icons/menus. The menu is dynamically created from the database. I thought I could wrap the user control with an output cache directive to speed things up. I set OutputCache varybyparam="none" and duration to 120 seconds.

When I navigate to my page, the usercontrol containing the tab menus and icons etc just vanishes? I thought ASP.NET was supposed to deliver some HTML that would previously have been cached.

So why isn't this working? It doesn't seem to do what the label says on the tin?!? ;)

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about outputcache