{"id":18728,"date":"2020-02-25T16:08:54","date_gmt":"2020-02-25T21:08:54","guid":{"rendered":"https:\/\/www.boldgrid.com\/support\/?p=18728"},"modified":"2024-02-22T10:06:39","modified_gmt":"2024-02-22T15:06:39","slug":"configuring-page-caching-in-w3-total-cache-for-vps-or-dedicated-hosting","status":"publish","type":"post","link":"https:\/\/www.boldgrid.com\/support\/w3-total-cache\/configuring-page-caching-in-w3-total-cache-for-vps-or-dedicated-hosting\/","title":{"rendered":"Configuring Page Caching in W3 Total Cache for VPS or Dedicated Hosting"},"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 a <a href=\"\/wordpress-vps-hosting\/\">WordPress VPS<\/a> or Dedicated hosting, you may use an in-memory caching solution rather than exclusively caching to disk. In-memory caching takes advantage of the much faster read\/write speeds and lower latency of accessing data from system memory compared to disk-based alternatives.<\/p>\n<p>In-memory caching solutions may also be ideal if your disk cache is likely to fill your disk with cache files, and you would prefer to have an automatic maximum limit on the amount of storage that is possible for caching to consume.<\/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<h4 id=\"alternative-php-cache-apc--apcu\">Alternative PHP Cache (APC \/ APCu)<\/h4>\n<p><b>APC<\/b> refers to <b>Alternative PHP Cache<\/b> which provides in-memory Opcode caching and a key-value store for looking up cached items. This is largely deprecated in favor of modern Opcode Caching mechanisms, as <b>APC<\/b> is not supported in the PHP 7.x branch.<\/p>\n<p><b>APCu<\/b> is similar to <b>APC<\/b>, though in order to support modern variants of PHP it is stripped of Opcode Caching and only provides the in-memory key-value store mechanisms. When paired with modern Opcode Caching mechanisms it can provide the functionality originally provided by <b>APC<\/b>, though it should only be used when you require having a limited cache size.<\/p>\n<p>APC\/APCu is not stable when a lot of memory is allocated. In cases where you are caching a small amount of data, <b>APC\/APCu<\/b> may be the ideal method for single-instance hosting platforms such as VPS or Dedicated hosting.<\/p>\n<h4 id=\"eaccelerator\">eAccelerator<\/h4>\n<p><b>eAccelerator<\/b> is an in-memory Opcode caching solution that supports the PHP 4.x and 5.x major versions. This is largely deprecated in favor of modern Opcode Caching mechanisms, as <b>eAccelerator<\/b> is not supported in the PHP 7.x branch.<\/p>\n<h4 id=\"xcache\">XCache<\/h4>\n<p>XCache is an in-memory Opcode caching solution that supports up to the PHP 5.6 release. This is largely deprecated in favor of modern Opcode Caching mechanisms, as <b>XCache<\/b> is not supported in the PHP 7.x branch.<\/p>\n<h4 id=\"wincache-recommended-for-windows-based-environments\">WinCache (Recommended for Windows-based Environments)<\/h4>\n<p><b>WinCache<\/b> is an extension for Microsoft IIS which provides in-memory Opcode caching and currently supports up to IIS 10 as of 04\/30\/2019. Check the official Microsoft product page for the latest information.<\/p>\n<h4 id=\"caveats\">Caveats<\/h4>\n<p>These solutions are mostly intended for use in hosting plans that provide a single account where you either have elevated privileges to install custom software, or a hosting provider that is able to make these changes for you.<\/p>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>If you have a WordPress VPS or Dedicated hosting, you may use an in-memory caching solution rather than exclusively caching to disk. In-memory caching takes advantage of the much faster read\/write speeds and lower latency of accessing data from system memory compared to disk-based alternatives. In-memory caching solutions may also be ideal if your disk [&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 VPS or Dedicated Hosting","bgseo_description":"On VPS and\/or Dedicated hosting platforms you may use an in-memory caching solution rather than exclusively caching to disk. In-memory caching takes advantage of the much faster read\/write speeds and lower latency of accessing data from system memory compared to disk-based alternatives. Learn More!","bgseo_robots_index":"index","bgseo_robots_follow":"follow","footnotes":""},"categories":[740,692],"tags":[],"class_list":["post-18728","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\/18728","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=18728"}],"version-history":[{"count":5,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/18728\/revisions"}],"predecessor-version":[{"id":125541,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/18728\/revisions\/125541"}],"wp:attachment":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/media?parent=18728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/categories?post=18728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/tags?post=18728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}