Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IIS 7.5 to 8.0 6 100
Handle null when using linq in this line 1 26
Re-position sub-options beneath the TAB 7 77
asp.net mvc return json 2 56
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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 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

12 Experts available now in Live!

Get 1:1 Help Now