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



Question:

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?!? ;)


Solution:1

I think this is caused by mixing AJAX and the outputcache. Both don't play well together. This is covered by the following post: See Post here


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »