views:

38

answers:

1

I have a gridview which displays data for all employees and their images (stored in database). The images take more time to render completely when i click sort or paging or reload. I'm using httphandler to display image as stream. Is there a way i can speed up this image loading?

+1  A: 

You can cache the byte arrays in HttpContext.Current.Cache and return them from the cache in the IHttpHandler.

SLaks
or even cache them as files...
Thomas Levesque