How to server-side cache ASP.NET custom HttpHandler response

Posted by Joel on Stack Overflow See other posts from Stack Overflow or by Joel
Published on 2010-05-17T20:21:08Z Indexed on 2010/05/17 20:30 UTC
Read the original article Hit count: 621

Filed under:
|
|

I've got a custom HttpHandler in my ASP.NET application, that basically builds and returns a javascript object. I have no experience with server-side caching, and my (possibly incompetent) google searches aren't returning anything basic enough to get me started.

Could anyone provide a very simple example to give me an idea of how to access and use the server-side cache from a custom HttpHandler, or, leave some links to get me started? Thanks a lot.

Additional info: I'm on IIS 6, and my code-behind is in C# (although a VB example would work as well).

© Stack Overflow or respective owner

Related posts about httphandler

Related posts about cache