Can mod_pagespeed Improve Page Load Speed?

Always on the lookout for ways to improve the loading speed of WordPress blogs, I recently decided to install the Google PageSpeed Module on three separate WordPress websites.

Review of Google PageSpeed Mod and WordPress Server InstallationIn order to see whether mod_pagespeed would help improve page speed, I used three different web page speed checking sites for my tests, WebPagetest, PageSpeed Insights and GTMetrix.

From experience, I’ve learned that individual web page testing and scoring websites are not always consistent. That said, I find that running each of the three testing services listed above, one after the other, returns the most consistent results.

No Pingdom testing?
I’ve found Pingdom Website Speed Testing very
helpful for comparing speed difference between
locations or servers, though comparatively less
useful for before-and-after web page performance
testing. Ergo no pingdom testing today.

I ran my tests against three websites, each quite active bandwidth usage wise, and each hosted on a similarly built cPanel Virtual Private Server, hosted at TVC.Net.

My primary reference for installation was the mod_pagespeed module for CPanel WHM tutorial. The installation itself was fairly seamless, with no downtime or reboot required.

And below are the before and after summaries for the three websites I tested.

WordPress Blog Test 1 Results. Click the images to enlarge each comparison test.

WordPress mod_pagespeed Installation Test 1

WordPress Blog Test 2 Results:

WordPress mod_pagespeed Installation Test 2

WordPress Blog Test 3 Results:

WordPress mod_pagespeed Installation Test 3

Just some notes about the above mod_pagespeed test results.

I did not review the plugins installed, nor make changes to sites prior to installing mod_pagespeed. I’m fairly certain we can further improve page loading by removing redundant plugins and adding others to help improve caching and page loading results.

All in all, I found the Google PageSpeed Mod installation and review fairly satisfying, and encourage you to try this setup on your server and test there as well. Enjoy!

If you enjoyed this post, make sure to subscribe to WP Mayor’s RSS feed.

About Jim Walker

Jim Walker is a WordPress Security Expert. He Manages and, a Malware Cleanup, Security and WordPress Management Service. You can follow him on twitter @hackrepair

Related Articles

12 Responses

  1. Hiral Patel (@HPizzy)
    Hiral Patel (@HPizzy) June 13, 2014 at 16:05 | | Reply

    Page is always a very interesting subject, a son of a b… to tame. Will have to setup and give it a try on some sites.

  2. Websupporter (@websupporter)
    Websupporter (@websupporter) June 15, 2014 at 09:12 | | Reply

    Hi Jim,
    I’ve set up mod_pagespeed quite a while for my server where I do run some WordPress applications. I’ve made more or less the same experiences like you. I was rather impressed, how you can increase pageload by a simple Apache module without changing anything in WordPress itself.

    Since I am into Page speed quite a while, I am really bothered by all these overloaded themes and plugins, which slow me down. But, somehow this is where the WordPress cosmos is heading to and it has its own advantages as well.

    Especially, when it comes to clients, who know, how to set up a WordPress themes and who know “but there is a plugin, I think, I will be able to do it with this one”… And suddenly you come from a Page Speed < 1 s to gigantic loading times. Yes, I know, there is a plugin against that… But there might be reasons, why you can't use this plugin, since it destroys the pages functionality.

    So I think , we should consider more and more possibilities, which speed up our WordPress applications on the server level. What do you think?

    The next thing I am considering is HHVM. Has anyone already experience with HHVM and WordPress?

  3. Jim Walker
    Jim Walker June 15, 2014 at 18:22 | | Reply

    Just like to add a caveat.
    The aggressive caching provided by Google mod_pagespeed is a blessing and a curse. Sure, you get great caching as a benefit. Though you may find some content updates will not “un-cache” as quickly as expected.

    For developers especially, the aggressive caching while updating stylesheets and the like can be a somewhat irritating experience. ♥

  4. Websupporter (@websupporter)
    Websupporter (@websupporter) June 15, 2014 at 19:14 | | Reply

    I totally agree. If I have to undertake quick changes on my stylesheets on the server, I usually also open the console of the server and use
    touch /var/cache/mod_pagespeed/cache.flush

    This flushes the cache of the module.

    1. Jim Walker
      Jim Walker June 15, 2014 at 19:31 | | Reply

      @websupporter – Nice!

  5. WallPaper WordPress theme
    WallPaper WordPress theme June 21, 2014 at 10:16 | | Reply

    Mod_pagespeed may be a factor to speedup your website. But it is the theme that make the difference. A poorly written WordPress theme can destroy all your efforts. Right now my WordPress themes are able to score 99/100 with all the plugins and ads, Can you believe that?

  6. Mjose marketing
    Mjose marketing July 13, 2014 at 16:35 | | Reply

    Is it compatible with Total cache plugin?

    1. Jim Walker
      Jim Walker July 15, 2014 at 18:18 | | Reply

      I see no reason why not. I’ve yet to see Google page speed incompatible with any plugin.

  7. Jim Walker
    Jim Walker December 9, 2014 at 18:29 | | Reply

    Adding another reference I forgot to add previously.

    PageSpeed Filters can likewise replace the “features” of many WordPress Plugins. See

  8. Maria Eres
    Maria Eres April 23, 2015 at 12:05 | | Reply

    Next to and, are there any other good tools to check page speed loading times with? So far I’ve discovered and , looking for other tools?

  9. Eugene Kopich
    Eugene Kopich November 11, 2016 at 13:13 | | Reply

    Stumbled across with mod_pagespeed. How does it work in conjunction with CloudFlare?

  10. Anupama
    Anupama April 20, 2018 at 00:25 | | Reply

    But we actually using pagespeed and many of our clients says that helped to increase speed of their website

Leave a Reply