Solved

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

Posted on 2011-09-15
4
728 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now