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
2010-06-15 20:04:54
or even cache them as files...
Thomas Levesque
2010-06-15 20:11:18