Solved

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

Posted on 2011-09-15
4
737 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.

734 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