开发者

Image caching in asp.net application without IIS

I have an application written in asp.net c# and hosted on IIS6. There are an 'Image' folder with 3-subfolders. These folders contained images of type 'jpg','gif','png' etc. Images are very huge in size and in numbers. On the application every page has some images needs to open/show, due to the size of images my application get slower and slower.

I know there are some techniques to Cache image folders at client machine or some other methods. I have no access on IIS. So, I need some httphandler or httpmodules which provide something like Image-caching.

I tried this : codeproject.com/KB/aspnet/CachingImagesInASPNET.aspx The problem is I have to add an extra extension '.ashx' to every image link. There is no problem with images are loading dynamically but it has trouble wi开发者_Go百科th images need to embose a manual link. Also, this is working fine upto around 1000s images.

All suggestions/solutions will be appreciated.


Caching on the client happens automatically.

Are you talking about keeping file in server memory (IIS file cache)?


I would look at some kind of buffering mechanism using AJaX. No one is going to want to look at 1000+ images at the same time.

Maybe you could take a look at the latest version of Google's Image Search for 'inspiration' ;-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜