Sunday, May 03, 2009

Image Caching in Asp.net

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
  1. Image caching in IIS (Easy and fastest way, but you need access to IIS)
  2. 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:

Anonymous said...

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.

Hapi said...

hello... hapi blogging... have a nice day! just visiting here....

Most Recent Post

Community Updates

Subscribe Blog via Email

Enter your email address:



Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.
Page copy protected against web site content infringement by Copyscape