{"id":448,"date":"2023-09-23T20:02:37","date_gmt":"2023-09-23T20:02:37","guid":{"rendered":"https:\/\/doc.freevision.me\/luxed\/?p=448"},"modified":"2023-09-23T20:02:37","modified_gmt":"2023-09-23T20:02:37","slug":"installing-w3-total-cache-plugin","status":"publish","type":"post","link":"https:\/\/doc.freevision.me\/luxed\/installing-w3-total-cache-plugin\/","title":{"rendered":"Installing W3 Total Cache Plugin"},"content":{"rendered":"\n<p><strong>Why using the W3 Total Cache plugin ?<\/strong><\/p>\n\n\n\n<p>The first reason is that <strong>it&#8217;s free and very effective<\/strong>. The <a href=\"https:\/\/wordpress.org\/plugins\/w3-total-cache\/\">W3 Total Cache plugin<\/a> has been around for years and is successfuly used by millions of websites. However, it can be a little tricky to setup when you start using it, that&#8217;s why we propose this simple guide for the Customizr theme.<\/p>\n\n\n\n<p>Using W3 Total Cache plugin enables the process of storing data from existing requests to be re-used for subsequent requests.&nbsp; <a href=\"https:\/\/en.wikipedia.org\/wiki\/PHP_accelerator\">Caching<\/a> prevents repeating database request and serving of same information, by storing data that has already been asked for and serves it up instantly.<\/p>\n\n\n\n<p>W3 Total cache will also help you reduce the sizes of your page by&nbsp; <a href=\"https:\/\/en.wikipedia.org\/wiki\/HTTP_compression\">compressing it<\/a> (HTML, CSS, Javascript) before it&#8217;s actually renders by your browser.<\/p>\n\n\n\n<p>This results in <strong>faster page load times<\/strong>, and an <strong>improved user experience<\/strong>. In the following guide, you&#8217;ll learn how to get <a href=\"https:\/\/secure.helpscout.net\/docs\/55f5a21ec697917f5010240c\/article\/562db8a9903360610fc6b52b#results\"><strong>excellent speed performance scores<\/strong><\/a> as measured by several online tools like, <a href=\"https:\/\/gtmetrix.com\/\">GT Metrix<\/a>, PingDom, Google Speed Insight, and WebPageTest.<\/p>\n\n\n\n<ol>\n<li>Login to your WordPress Dashboard.<\/li>\n\n\n\n<li>Go to Plugins -&gt; Add New.<\/li>\n\n\n\n<li>Type W3 Total Cache in the search box and enter.<\/li>\n\n\n\n<li>Click Install Now button and follow by activate plugin link.<\/li>\n<\/ol>\n\n\n\n<h2>Setting up the plugin<\/h2>\n\n\n\n<p>In your WordPress admin, go to Performance -&gt; General Settings<\/p>\n\n\n\n<h3>General<\/h3>\n\n\n\n<ol>\n<li>Toggle all caching types on or off (at once):\n<ul>\n<li>Don&#8217;t use this check-box, we will be going though settings and enable only those that we need.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Preview mode:\n<ul>\n<li>Lets you test configuration changes before they impact on your users.&nbsp;<\/li>\n\n\n\n<li>Switch to Enabled to safely test changes prior to deploying in a live environment.&nbsp;<\/li>\n\n\n\n<li>Remember to deploy after you are done setting.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/file-5cluscUqKO.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3>Page Cache<\/h3>\n\n\n\n<p>This option will create and store a static version of visited pages on your server, so that it can be served immediately to browser.<br>Saves time needed to retrieve content from database, and therefore speeds up loading.<\/p>\n\n\n\n<ol>\n<li>Page cache:\n<ul>\n<li>Check on the check-box to enable this option.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Page cache method:\n<ul>\n<li>Select <strong>Disk: Enhanced <\/strong>from the drop-down, this is the preferred setting that will work properly on Shared Hosting.<br>We will be using this setting for this documentation.<\/li>\n\n\n\n<li>Other settings will require installing of PHP extensions, such as <a href=\"http:\/\/php.net\/manual\/en\/intro.apc.php\" target=\"_blank\" rel=\"noreferrer noopener\">Alternative PHP Cache (APC)<\/a>. You will only be able to add PHP extension on Dedicated Server or Virtual Host, either with the help of your Web Hosting company or if you are familiar with server software.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click on Save all settings button.<br><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/file-qq6BNKBjcg.png\" alt=\"\"><\/li>\n<\/ol>\n\n\n\n<h3>Minify<\/h3>\n\n\n\n<p>This option will minify (compress) HTML, CSS and Javascript files. It is the process of removing all unnecessary characters from source code without changing its functionality.<\/p>\n\n\n\n<ol>\n<li>Minify:\n<ul>\n<li>Check on the check box to enable this option.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Minify Mode:\n<ul>\n<li>Select <strong>Auto<\/strong> (radio button)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Minify cache method:\n<ul>\n<li>Select <strong>Disk<\/strong> from the drop-down, this is the preferred setting that will work properly on Shared Hosting.<\/li>\n\n\n\n<li>Same as Page Cache option mentioned above, other settings will require installing of PHP extensions.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>HTML minifier:\n<ul>\n<li>Select <strong>Default <\/strong>from the drop-down.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>JS minifier:\n<ul>\n<li>Select <strong>Default <\/strong>from the drop-down.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>CSS minifier:\n<ul>\n<li>Select <strong>Default<\/strong> from the drop-down.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click on Save all settings button.<\/li>\n<\/ol>\n\n\n\n<h3>Database Cache<\/h3>\n\n\n\n<p>This option saves data retrieved from database.<\/p>\n\n\n\n<ol>\n<li>Database cache:\n<ul>\n<li>Check on the check-box to enable this option.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Database cache method:\n<ul>\n<li>Select <strong>Disk<\/strong>, from the drop-down, this is the preferred setting that will work properly on Shared Hosting.<\/li>\n\n\n\n<li>Other settings will require installing of PHP extensions.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click on Save all settings button.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/file-YR4BvGcW4F.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3>Object Cache<\/h3>\n\n\n\n<p>This option saves common operations.<\/p>\n\n\n\n<ol>\n<li>Object cache:\n<ul>\n<li>Check on the check-box to enable this option.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Object cache method:\n<ul>\n<li>Select <strong>Disk<\/strong>, from the drop-down, this is the preferred setting that will work properly on Shared Hosting.<\/li>\n\n\n\n<li>Other settings will require installing of PHP extensions.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click on Save all settings button.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/file-HWGwOrPElS.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3>Browser Cache<\/h3>\n\n\n\n<p>This option uses the cache in the visitors browser.<\/p>\n\n\n\n<ol>\n<li>Browser cache:\n<ul>\n<li>Check on the check-box to enable this option.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click on Save all settings button.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/file-vaUqXf7uz9.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3>CDN<\/h3>\n\n\n\n<p>This option is for setting a Content Delivery Network (CDN).<\/p>\n\n\n\n<p>CDN is a large distributed system of proxy servers deployed in multiple data centers via the Internet. You can host your static files, such as Javascript and Stylesheet files on a CDN. The CDN wlll deliver the content of these files from a server that&#8217;s nearest to your visitor&#8217;s location, this will speed up page load.&nbsp;<\/p>\n\n\n\n<p>You will have to sign up for a CDN service, such as <a href=\"https:\/\/www.maxcdn.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">MaxCDN<\/a> (recommended by W3 Total Cache plugin).<\/p>\n\n\n\n<p>That&#8217;s all for the general settings, skip the remaining options and proceed to setup the remaining of the minify settings.<\/p>\n\n\n\n<h2>Minify (Continue)<\/h2>\n\n\n\n<p>In your WordPress admin, go to Performance -&gt; Minify<\/p>\n\n\n\n<h3>General<\/h3>\n\n\n\n<ol>\n<li>Rewrite URL structure:\n<ul>\n<li>Check on this check-box to enable<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Leave other settings intact.<\/li>\n\n\n\n<li>Click on Save all settings button.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/file-SbqRC83I7i.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3>HTML &amp; XML<\/h3>\n\n\n\n<p>This setting will minify Javascript and CSS that is written within HTML body.<\/p>\n\n\n\n<ol>\n<li>HTML minify settings:<ul><li>Check on the check-boxes of Enable, Inline CSS minification, and Inline JS minification.<\/li><\/ul>Click on Save all settings button.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/file-YjkWkeNpd4.png\" alt=\"\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>Why using the W3 Total Cache plugin ? The first reason is that it&#8217;s free and very effective. The W3 Total Cache plugin has been around for years and is successfuly used by millions of websites. However, it can be a little tricky to setup when you start using it, that&#8217;s why we propose this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[33],"tags":[],"_links":{"self":[{"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/posts\/448"}],"collection":[{"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/comments?post=448"}],"version-history":[{"count":1,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/posts\/448\/revisions"}],"predecessor-version":[{"id":456,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/posts\/448\/revisions\/456"}],"wp:attachment":[{"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/media?parent=448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/categories?post=448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/tags?post=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}