IIS PageSpeed Configuration
Configuring IISpeed is done by editting text files named
There is a configuration file located in the install directory.
This file defines the root configuration which is inherited into all
websites that have the module enabled.
IISpeed will also check for a files named iispeed.config in the root of websites that have the iispeed module enabled for website-specific configuration. The website specific configuration will inherit the root settings. You can disable IISpeed for a website by renaming iispeed.config to something else.
PageSpeed Configuration and Tuning
Recommended reading for setting up PageSpeed optimization in detail
- PageSpeed System Configuration
- PageSpeed Optimization Configuration
- PageSpeed Url Mapping and Routing
- Tune IIS for PageSpeed
IISpeed configuration examples
Starting out from zero
A good approach to PageSpeed optimization is to start out with doing nothing and tune optimizations and options one by one.
# Restrict per-request configuration pagespeed RequestOptionOverride example_token # Do not optimize anything at all, start out blank pagespeed RewriteLevel PassThrough pagespeed InPlaceResourceOptimization off # Iterate using https://www.iispeed.com/pagespeed/test and # enable filters to fix any recommendations. For example: pagespeed EnableFilters prioritize_critical_css,rewrite_images
Example Website configuration
We'll illustrate IISpeed's more advanced configuration capabilities with an example.