Solved

IIS Caching images served by an image handler (asp.NET)

Posted on 2011-09-15
4
733 Views
Last Modified: 2012-06-22
Hello,
We have an asp.NET website that uses an image handler to display images, however we can't get IIS (7) to cache them.  As a result, the images are having to be fully loaded each page refresh, which is proving to slow the site right down.

Does anyone have a fix?

Thanks,
Webbo
0
Comment
Question by:Webbo_1980
  • 2
4 Comments
 
LVL 16

Expert Comment

by:disrupt
ID: 36543087
0
 

Author Comment

by:Webbo_1980
ID: 36543148
I saw that link in my own searching, and adding an expires header isn't the solution I'm looking for... and the registering the handler didn't seem to work either.

Anyone else have any input?
0
 
LVL 16

Accepted Solution

by:
disrupt earned 500 total points
ID: 36543167
0
 
LVL 12

Expert Comment

by:jagssidurala
ID: 36545549
Can you post you handler code so that i will check for any optimization.

and also refer these links

http://forums.iis.net/t/1170591.aspx

http://learn.iis.net/page.aspx/721/configure-caching-with-query-string-support-in-application-request-routing/
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question