Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What kind of optimization (performance or whatever) do you use when going live with IIS (on windows 2003) ?

Currently, I use 1 application pool per web site, but I think I can do more :)

share|improve this question
    
I tend to think about giving the images and css directory their own pool also as it just keeps active processing separate from file serving –  Stewart Robinson May 1 '09 at 12:54

4 Answers 4

up vote 5 down vote accepted

Even on large banks, I've rarely (can't remember when) done any optimizations on IIS that weren't just the addition of modules. I keep all the defaults.

  • Dynamic and Static Compression
  • Set Expires dates on Static content, images, JS, etc
share|improve this answer

You should see what your score is in YSlow. We run that on all sites before they deploy. A few tips:

  1. Minify your JS and combine it into one JS file (put that reference at the bottom of the html file).
  2. Combine your CSS into one file.
  3. Enable GZIP and deflate compression. Add .js and .css to the type of files it will compress. ZIPEnable is good for this.
  4. Set up content expiration for 1 year. Remember that if you modify a css/js/image file after you do this, you will need to rename that file and update references so clients pull the latest version.
  5. Disable E-Tags.
share|improve this answer

Why would you consider using a single app pool per website as an optimization? Separating websites into different app pools should only be done if you have an explicit need for it like:

  • Different .NET versions
  • Different identity requirements
  • Crashing websites
  • Recycle schedules
  • Etc
share|improve this answer
    
Crashing website : check. I have an old application (isapi module), that keeps crashing. Needs manually restarting the application pool :) I'm glad we've 1 apppool per website. –  mathieu Apr 30 '09 at 9:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.