{"id":18731,"date":"2020-02-25T16:13:04","date_gmt":"2020-02-25T21:13:04","guid":{"rendered":"https:\/\/www.boldgrid.com\/support\/?p=18731"},"modified":"2024-02-22T10:06:13","modified_gmt":"2024-02-22T15:06:13","slug":"configuring-page-caching-in-w3-total-cache-for-multiple-servers","status":"publish","type":"post","link":"https:\/\/www.boldgrid.com\/support\/w3-total-cache\/configuring-page-caching-in-w3-total-cache-for-multiple-servers\/","title":{"rendered":"Configuring Page Caching in W3 Total Cache for Multiple Servers"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<?xml encoding=\"utf-8\" ?><html><body><p>If you have multiple hosting plans where one plan has root-level access, or if your <a href=\"\/wordpress-hosting\/\">WordPress hosting provider<\/a> offers addons or bundles providing one of the following solutions, you may offload your in-memory caching to another server. This allows you to separate your actual site and caching solution between multiple servers to compliment each other, and allows for easier scaling to serve many users.<\/p>\n<div class=\"boldgrid-section\" style=\"margin-top: 60px;\">\n<div class=\"container w3tc-radius\" style=\"border-width: 0px; background-image: url('https:\/\/www.boldgrid.com\/wp-content\/uploads\/2023\/07\/upsell-darker-alt.png'); background-size: cover; background-position: 50% 5%;\" data-image-url=\"https:\/\/www.boldgrid.com\/wp-content\/uploads\/2023\/07\/upsell-darker-alt.png\">\n<div class=\"row upsell-column\" style=\"padding-top: 2em; padding-bottom: 2em; color: #ffffff;\">\n<div class=\"col-lg-1 col-md-1 col-sm-12 col-xs-12 hidden-sm\">&nbsp;<\/div>\n<div class=\"col-lg-5 col-md-6 col-xs-12 col-sm-7\">\n<p class=\"h3\" style=\"color: #ffffff; line-height: 40px; margin-top: 0;\"><strong>Speed Up Your WordPress Website.<\/strong><\/p>\n<p style=\"color: #ffffff;\" class=\"h4\">A Difference of Just 100ms in Page Load Speeds Can Cause a Visitor to Prefer Your Competitor&rsquo;s Website.<\/p>\n<\/div>\n<div class=\"col-lg-6 col-md-5 col-sm-5 col-xs-12 text-center align-column-center\">\n<p class=\"\" style=\"border-width: 0px;\"><a class=\"button-w3tc-white\" style=\"border: 2px solid #30BEC4; font-size: 18px; padding: 15px 30px;\" href=\"https:\/\/www.boldgrid.com\/w3-total-cache\/#pricing\">View Plans<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2 id=\"page-caching-methods\">Page Caching Methods<\/h2>\n<h3 id=\"memcached\">Memcached<\/h3>\n<p>Memcached is a high-performance, distributed memory object caching system meant to speed up dynamic web applications by alleviating database load. It provides an in-memory key-value store for small chunks of arbitrary data (strings, objects) from the results of database calls, API calls, or page rendering.<\/p>\n<p>Memcached is ideal for relatively small and static data, and as a result may be more efficient than Redis in smaller data sets. It is also multi-threaded, which may be a benefit when using a VPS or Dedicated Server with a large resource pool.<\/p>\n<h3 id=\"redis\">Redis<\/h3>\n<p>Redis is an in-memory data structure store which may be used as a database, cache, and message broker. Redis is somewhat of an industry-standard at the time of writing, and can be defined simply as a superset of Memcached when purely talking about similarities between each feature set.<\/p>\n<h3 id=\"memcached--nginx-recommended\">Memcached + NGINX (Recommended)<\/h3>\n<p>This method is usually the fastest because cached data is always stored in memory and cached requests are processed without PHP. It combines the power of the Disk: Enhanced and Memcached options.<\/p>\n<h3 id=\"caveats\">Caveats<\/h3>\n<p>Using an in-memory cache on another asset will assist with exceeding any disk-based performance issues, however you may run into issues if your traffic exceeds your available bandwidth as this requires fetching assets over a network. Offloading your caching to another server may not greatly decrease your site&rsquo;s response time due to the extra HTTP transactions, though it will allow many more users to interact with your site simultaneously.<\/p>\n<p>An additional concern is that requests to in-memory caches are generally handled by PHP scripts, which is considered to be slower than Disk: Enhanced.<\/p>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>If you have multiple hosting plans where one plan has root-level access, or if your WordPress hosting provider offers addons or bundles providing one of the following solutions, you may offload your in-memory caching to another server. This allows you to separate your actual site and caching solution between multiple servers to compliment each other, [&hellip;]<\/p>\n","protected":false},"author":529,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"bgseo_title":"Configuring Page Caching in W3 Total Cache for Multiple Servers","bgseo_description":"If you have multiple hosting plans, or if your hosting provider offers addons or bundles providing clustered hosting, you may offload your in-memory caching to another server, which allows for easier scaling to serve many users very quickly. This guide will explain the differences between methods. ","bgseo_robots_index":"index","bgseo_robots_follow":"follow","footnotes":""},"categories":[740,692],"tags":[],"class_list":["post-18731","post","type-post","status-publish","format-standard","hentry","category-page-cache","category-w3-total-cache"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/18731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/users\/529"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/comments?post=18731"}],"version-history":[{"count":6,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/18731\/revisions"}],"predecessor-version":[{"id":125540,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/18731\/revisions\/125540"}],"wp:attachment":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/media?parent=18731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/categories?post=18731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/tags?post=18731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}