How to Reduce Time To First Byte (TTFB) with IIS WordPress


There are many tools and many guidelines outline to help speed up web pages.  In my case, it is WordPress hosted in IIS 8.  TTFB was ~2 seconds and it took 5 seconds to load the page.

Black Hole

Optimization is like a black hole, sucking all your time while you try to score better on some benchmarks.  Common tricks include:

  • Use FastCGI
  • Use WinCache
  • Use WordPress cache plugin, such as W3 Total Cache.
  • Faster CPU, more Memory, use SSD drive


You can use many online sites (e.g. pingdom) to give you waterfall and recommendations.  They are also good to establish your performance baseline.

If you see high TTFB, then the next step is to use a browser on your web server to load the website.  Any web browser (Chrome, IE, Firefox) can give you a waterfall, if you still have a high TTFB, then you know it is something related to the web server, not due to long network distance from a test client.


For me, the following trip reduces my WordPress page:

  • Total load time from > 5 seconds to 1.2 seconds. 
  • TTFB dropped from ~2 seconds to 183 ms.

The solution is to disable IPv6 on Windows Server.  I simply used Microsoft’s “Fix it”

Reference: (many thanks to that thread of discussion!!!)


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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s