IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 29th, 2004, 05:35 AM
flipflops flipflops is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 39 flipflops User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 27 m 2 sec
Reputation Power: 6
Question custom HTTP headers

Hi

I was hoping that somebody could either help me out or point me in the right direction...

I want to use (in IIS 5) custom HTTP headers to make sure that css, javascript and image files are all cached, in the context of an ASP / MsSQL application.

I wanted to know what I need to as a custom header name and value, in the dialog box. I have manged to find lots of sites telling me that it is possible to set these cache settings by file types or directory, but none that actually tell me how to go about doing it.

Thanks in advance !

flipflops.

Reply With Quote
  #2  
Old June 30th, 2004, 09:49 AM
flipflops flipflops is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 39 flipflops User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 27 m 2 sec
Reputation Power: 6
I found a solution - its not particularly nice but there you go.

All the scripts are in a directory called 'scripts', the styles are in 'styles', images in 'pictures' etc.

In IIS I have navigated to these particular folders and then right clicked to get the properties tabs and in these set content expiration time to 20 days (as oposed to expires immmediately for ASP pages)

This is a bit of a fiddle because I have to do it on both live and test servers and for each directory... but it works.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > custom HTTP headers


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway