If your application is using lot of images, and you want to speed up the load time of your website, than you should use Image caching technique in asp.net for avoiding extra bandwidth usage for getting same content and more over improve performance and enhance the user experience.
Image caching can be perform in either of following ways
- Image caching in IIS (Easy and fastest way, but you need access to IIS)
- Image caching with Custom HttpHandler in asp.net (Complicated way, yet useful when you don't have access to IIS, eg: while using third party web hosting)
Image caching article discus more on this topic and it is very useful.
Please click on Image Caching Article to read more on this topic.
2 comments:
Perform following steps is easiest and fast.
1 Open IIS (Internet Information Server).
2. Browse to web application's virtual directory.
3. Right-click on the Images directory and select Properties from the context menu.
4. From the Properties dialog select the HTTP Headers tab.
5. Check Enable Content Expiration and select Expire after 5 day and press OK.
hello... hapi blogging... have a nice day! just visiting here....
Post a Comment