Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to
12 Steps To Faster Web Pages With Visual Round Trip Analyzer recommends (among others useful suggestions) to  Set Expiration Dates - follow Using Content Expiration (IIS 6.0), .
Finally the post  IIS Content expiration header and ASP.NET cleared my concerns:
IIS is smart enough to add the expiration header only to static content.
It automatically adds the header to images and css files, without touching
the aspx pages.
 But, like the author of the post, I am also wonder , how does IIS determine what extensions fall under static content? Is
there a way to modify this list?
Related: a few useful advices from Best practices for creating websites in IIS 6.0  
Custom Headers:
Remove the X-Powered-By: ASP.NET header. You really don't need it unless you want to attach Visual Studio Remote Debugger to your IIS. Otherwise, it's just sending 21 bytes on every response.
  • Add "From" header and set the server name. I do this on each webserver and specify different names on each box. It's handy to see from which servers requests are being served. When you are trying to troubleshoot load balancing issues, it comes handy to see if a particular server is sending requests. 
  • Also turn on IIS 6.0 gzip compression.  Note that enabling in IIS 6.0 in the Properties, Service tab is not good enough.

  • More links:
    Posted on Wednesday, December 31, 2008 3:57 PM ASP.NET | Back to top

    Comments on this post: IIS Set Expiration Dates adds the expiration header only to static content

    # re: IIS Set Expiration Dates adds the expiration header only to static content
    Requesting Gravatar...
    Thanx man!!! really really useful clarification about something that is silly explained at Microsoft site. As you say is hard to understand way iis doesn’t specify what static content is.
    Ps: Cool links!
    Left by Diego on Apr 27, 2010 9:21 AM

    Your comment:
     (will show your gravatar)

    Copyright © Michael Freidgeim | Powered by: