{"id":542,"date":"2014-05-24T20:31:15","date_gmt":"2014-05-24T16:31:15","guid":{"rendered":"http:\/\/www.hakbox.com\/?p=542"},"modified":"2014-05-26T04:35:56","modified_gmt":"2014-05-26T00:35:56","slug":"wordpress-caching-plugins-worth-it","status":"publish","type":"post","link":"https:\/\/www.hakbox.com\/?p=542","title":{"rendered":"WordPress Caching Plugins &#8211; Are They Worth It?"},"content":{"rendered":"<p>Recently, I figured I&#8217;d look into some WordPress caching options. \u00a0Rather than setting up my own caching service, I figured I would try out some of the available caching plugins. \u00a0<em>Note: I only looked at the free versions of each plugin.<\/em><\/p>\n<p>So, after a quick download of jmeter, and jmeter plugins, I created a basic test plan to load the home page, several articles, and all articles by a single tag (hawaii).<\/p>\n<p>Keep in mind this was an extremely basic benchmark. No resource utilization was captured from the host servers (Apache or MySQL). <\/p>\n<p>The initial results were interesting. \u00a0Most seem to make no difference, under moderate load, what-so-ever, in terms of the site&#8217;s performance. \u00a0Some made the load times even slower. \u00a0The following graphs show the results for the same tests, at increasing load over time (threads).<\/p>\n<p><strong>Initial Findings<br \/>\n<\/strong>Looking at 5 concurrent threads loading the Home page as the comparison for each test, there is a slight improvement of about 100 to 300 milliseconds for all the Caching plugins, except <em>W3 Total Cache (Edge Enabled),\u00a0which is about 200 milliseconds slower than no caching at all<\/em>.<\/p>\n<p><strong>Looking at the Home Page specifically:<br \/>\n<\/strong>At 5 concurrent threads, here are the average load times:<\/p>\n<ul>\n<li><em><strong>No Cache:<\/strong><\/em> ~800ms<\/li>\n<li><em><strong>Quick Cache:<\/strong><\/em> ~500ms<\/li>\n<li><em><strong>W3 Total Cache:<\/strong><\/em> ~700ms<\/li>\n<li><strong><em>W3 Total Cache\u00a0(Edge Enabled):<\/em>\u00a0<\/strong>~1,000ms<\/li>\n<li><em><strong>WP Fastest<\/strong><\/em><strong><em> Cache:<\/em>\u00a0<\/strong>~600ms<\/li>\n<\/ul>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_544\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.hakbox.com\/?attachment_id=544#main\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-544\" class=\"wp-image-544 size-medium\" src=\"http:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-no-caching-RTT-300x167.png\" alt=\"hakbox - no caching RTT\" width=\"300\" height=\"167\" srcset=\"https:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-no-caching-RTT-300x167.png 300w, https:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-no-caching-RTT.png 880w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-544\" class=\"wp-caption-text\"><strong>No Cache Plugin:<\/strong> Response Times over\u00a0Threads<\/p><\/div><\/td>\n<td valign=\"top\">\n<p><div id=\"attachment_552\" style=\"width: 310px\" class=\"wp-caption alignleft\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-552\" class=\"size-medium wp-image-552\" src=\"http:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-WP-Fastest-Cache-RTT-300x167.png\" alt=\"WP Fastest Cache: Response Times over Threads\" width=\"300\" height=\"167\" srcset=\"https:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-WP-Fastest-Cache-RTT-300x167.png 300w, https:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-WP-Fastest-Cache-RTT.png 880w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-552\" class=\"wp-caption-text\"><strong>WP Fastest Cache:<\/strong> Response Times over Threads<\/p><\/div><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p><div id=\"attachment_548\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.hakbox.com\/?attachment_id=548#main\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-548\" class=\"wp-image-548 size-medium\" src=\"http:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-W3-Total-Cache-RTT-300x167.png\" alt=\"W3 Total Cache: Response Times over Thread Count\" width=\"300\" height=\"167\" srcset=\"https:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-W3-Total-Cache-RTT-300x167.png 300w, https:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-W3-Total-Cache-RTT.png 880w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-548\" class=\"wp-caption-text\"><strong>W3 Total Cache:<\/strong> Response Times over Threads<\/p><\/div><\/td>\n<td valign=\"top\">\n<p><div id=\"attachment_550\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.hakbox.com\/?attachment_id=550#main\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-550\" class=\"wp-image-550 size-medium\" src=\"http:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-W3-Total-Cache-Edge-Enabled-RTT-300x167.png\" alt=\"W3 Total Cache (Edge): Response Times over Thread Count\" width=\"300\" height=\"167\" srcset=\"https:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-W3-Total-Cache-Edge-Enabled-RTT-300x167.png 300w, https:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-W3-Total-Cache-Edge-Enabled-RTT.png 880w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-550\" class=\"wp-caption-text\"><strong>W3 Total Cache (Edge):<\/strong> Response Times over Threads<\/p><\/div><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p><div id=\"attachment_546\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.hakbox.com\/?attachment_id=546#main\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-546\" class=\"wp-image-546 size-medium\" src=\"http:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-Quick-Cache-RTT-300x167.png\" alt=\"Response Times per Thread Count\" width=\"300\" height=\"167\" srcset=\"https:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-Quick-Cache-RTT-300x167.png 300w, https:\/\/www.hakbox.com\/wp-content\/uploads\/2014\/05\/hakbox-Quick-Cache-RTT.png 880w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-546\" class=\"wp-caption-text\"><strong>Quick Cache:<\/strong> Response Times over\u00a0Threads<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Conclusion<\/strong><\/p>\n<p>If you are looking for some basic improvement in page load\u00a0time, your best option is <strong>Quick Cache<\/strong>, based on the data. \u00a0Even though the improvements are minimal, I am currently running Quick Cache, based on my findings.<\/p>\n<p>The argument could be made that given how little these plugins affect the response times, it&#8217;s not worth installing any caching plugin at all. \u00a0I&#8217;m not sure I would pay $200 for W3 Total Cache, either. \ud83d\ude42 Furthermore, don&#8217;t make the assumption that adding a caching plugin will magically improve your site&#8217;s performance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I figured I&#8217;d look into some WordPress caching options. \u00a0Rather than setting up my own caching service, I figured I would try out some of the available caching plugins. \u00a0Note: I only looked at the free versions of each plugin. So, after a quick download of jmeter, and jmeter plugins, I created a basic [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,10],"tags":[64,68],"class_list":["post-542","post","type-post","status-publish","format-standard","hentry","category-benchmark","category-dev","tag-development","tag-performance","no-thumb"],"_links":{"self":[{"href":"https:\/\/www.hakbox.com\/index.php?rest_route=\/wp\/v2\/posts\/542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hakbox.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hakbox.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hakbox.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hakbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=542"}],"version-history":[{"count":19,"href":"https:\/\/www.hakbox.com\/index.php?rest_route=\/wp\/v2\/posts\/542\/revisions"}],"predecessor-version":[{"id":571,"href":"https:\/\/www.hakbox.com\/index.php?rest_route=\/wp\/v2\/posts\/542\/revisions\/571"}],"wp:attachment":[{"href":"https:\/\/www.hakbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hakbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hakbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}