How to Fix a Slow WordPress Site on Windows 2012 IIS 8

While there are many ways to tune a WordPress installation on IIS, I have 4 performance tips:

  1. Install WordPress via Web Platform Installer (aka WebPI) 2.0 / Windows Web App Gallery.
    1. image
  2. Install/Activate/Configure W3 Total Cache plugin for WordPress
  3. Modify wp-config.php. 
    • Change define(‘DB_HOST’, ‘localhost’); to define(‘DB_HOST’, ’′);
  4. Leverage browser caching by adding the <staticContent> to web.config.
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="7.00:00:00" />




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s