It’s been year, never checked how was my blog performing, and I decided to speed it up with WP Super Cache Configuration on Windows hosting. Finally, I made it. if you are having MVC website  you can check previous post where you can change your web.config and Speed up your MVC website

When you install WP Super Cache on Linux hosting most of the configurations are working out of the box. In case of IIS / Windows hosting out of the box .htaccess doesn’t help you much. So here are the steps to be performed to make sure it boosts your site up.

Step 1: Go to the root folder of your website where you have installed WordPress, check if you have web.config if its there insert the rule below under rewrite rules if not create new file web.config file.

<rule name=”WP Super Cache IIS” stopProcessing=”true”>
<match url=”(.*)” />
<conditions logicalGrouping=”MatchAll”>
<add input=”{REQUEST_METHOD}” pattern=”^POST$” negate=”true” />
<add input=”{QUERY_STRING}” pattern=”.*=.*” negate=”true” />
<add input=”{QUERY_STRING}” pattern=”.*attachment_id=.*” negate=”true” />
<add input=”{HTTP_COOKIE}” pattern=”^.*(comment_author_|wordpress|wp-postpass_).*$” negate=”true” />
<add input=”{DOCUMENT_ROOT}/wp-content/cache/supercache/{HTTP_HOST}/{R:1}index.html” matchType=”IsFile” />
<action type=”Rewrite” url=”wp-content/cache/supercache/{HTTP_HOST}/{R:1}index.html” />


Now once this is done you are nearly finished.

Step2: Completely optional if you are not configuring Garbage collection under advance option of WP Super Cache

WP Super Cache Configuration on Windows hosting

However, if you configured it. you need to create one more web.config under <your root>\wp-content\cache

with below block of code

<?xml version=”1.0″ encoding=”UTF-8″?>
<add name=”Cache-Control” value=”max-age=86400, must-revalidate” />


Make sure max-age value on Garbage Collector and web.config matches.

If you want your WP Super Cache to start performing immediately

WP Super Cache Configuration on Windows hosting

Finaly, Just start preload and you are all set! I do not have screenshot of my own website result. But I can share one of my clients website speed comparison before and after configuration with WP Super Cache.

WP Super Cache Configuration on Windows hosting

Comment below and let me know if this helps you or if you are facing any issues configuring WP Super Cache Configuration on Windows hosting.

If you liked this article, then please subscribe to our Blog for more updates like this. You can also connect me on Twitter, LinkedIn and GitHub.