Server side caching doesn't work with HttpHandler

Posted by Lieven Cardoen on Stack Overflow See other posts from Stack Overflow or by Lieven Cardoen
Published on 2010-03-15T08:32:08Z Indexed on 2010/03/15 8:39 UTC
Read the original article Hit count: 521

Filed under:
|
|
|

If we use an aspx page with a Caching Profile, the server caches images that are loaded with the aspx page. So if ten clients load the same image through the aspx page (same url), for one client the image is gotten out of the db, for the nine others it is cached.

When we use a HttpHandler, this doesn't happen. The image is always fetched from the database. We have tried all different settings without any success. (we have checked this link and have not been able to cache on server side).

© Stack Overflow or respective owner

Related posts about httphandler

Related posts about ASP.NET