{"id":19126,"date":"2024-05-25T18:28:59","date_gmt":"2024-05-25T18:28:59","guid":{"rendered":"https:\/\/hostvento.com\/kb\/web-hosting\/how-to-setup-memcached-on-your-website\/"},"modified":"2024-06-16T15:38:44","modified_gmt":"2024-06-16T15:38:44","slug":"how-to-setup-memcached-on-your-website","status":"publish","type":"docs","link":"https:\/\/www.hostvento.com\/kb\/docs\/hosting-faqs\/how-to-setup-memcached-on-your-website\/","title":{"rendered":"How to Setup Memcached on Your Website?"},"content":{"rendered":"\n<p>Among the technologies used for website caching is Memcached. Memcached can be enabled on your website. Using Memcached for your website can greatly enhance performance and dramatically cut page loading times if it largely relies on database queries.<\/p>\n\n\n\n<p>In this article, we will get to know how to setup Memcached on your website.<\/p>\n\n\n\n<p>Let\u2019s get started! First, we will understand what is object caching.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Knowing What is Object Caching?<\/h2>\n\n\n\n<p>Object caching is all about storing the database queries and when it\u2019s enabled on your WordPress site, it helps to speed up the PHP execution times, reduce the load on your database and deliver content to your visitor at a faster rate. This type of caching system is usually used for websites that have heavy databases.<\/p>\n\n\n\n<p>As we have previously seen what is Memcached, you can enable it in your cPanel. Let\u2019s know how you can enable Memcached in cPanel.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enabling Memcached in cPanel:<\/h2>\n\n\n\n<p>You can enable Memcached from your cPanel account by following the steps given below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The first step is, login to your\u00a0<strong>cPanel<\/strong><\/li>\n\n\n\n<li>Go to the Advanced section and then click on the\u00a0<strong>LMSCD User Manager icon<\/strong>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hostvento.in\/hosting-faqs\/wp-content\/uploads\/2022\/10\/LMSCD-user-manager.png\" alt=\"\" class=\"wp-image-17044\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now in the next step, create a password for your LMSCD username. And then click on the\u00a0<strong>Change Password<\/strong>\u00a0button.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hostvento.in\/hosting-faqs\/wp-content\/uploads\/2022\/10\/change-password-1024x417.png\" alt=\"\" class=\"wp-image-17045\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You will also have the option to set a new password for your LMSCD username.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Enabling Memcached for Your WordPress Site<\/h2>\n\n\n\n<p>If you have a WordPress based website and you need to use the&nbsp;<strong>LiteSpeed Cache<\/strong>&nbsp;plugin, follow the instructions given below to enable the&nbsp;<strong>Object Cache.<\/strong><\/p>\n\n\n\n<p>To do so, first go to your WordPress dashboard, then navigate to the&nbsp;<strong>LiteSpeed Cache<\/strong>&gt;&nbsp;<strong>Cache<\/strong>&gt;&nbsp;<strong>Object<\/strong><\/p>\n\n\n\n<p>Note: If you do not have the LiteSpeed cache plugin on your site, then first install and activate it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hostvento.in\/hosting-faqs\/wp-content\/uploads\/2022\/10\/object-cache-1024x442.png\" alt=\"\" class=\"wp-image-17046\"\/><\/figure>\n\n\n\n<p>As we have mentioned above, set the Username and Password which you have set in the cPanel. All the other fields should be remained as by default.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hostvento.in\/hosting-faqs\/wp-content\/uploads\/2022\/10\/username-password-1024x431.png\" alt=\"\" class=\"wp-image-17047\"\/><\/figure>\n\n\n\n<p>You need to do this, for every installation of WordPress as required.<\/p>\n\n\n\n<p>And that\u2019s it. This is how you can enable Object Cache on your WordPress website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enabling Memcached for Other Web Applications<\/h2>\n\n\n\n<p>If your site is running on other platforms and you need to use Memcached, use the settings given below. It shows how to enable Object Cache.<\/p>\n\n\n\n<p><strong>Method:&nbsp;<\/strong>Memcached<\/p>\n\n\n\n<p><strong>Host:&nbsp;<\/strong>127.0.0.1<strong><\/strong><\/p>\n\n\n\n<p><strong>Port:&nbsp;<\/strong>11211<strong><\/strong><\/p>\n\n\n\n<p><strong>Default Object Lifetime:&nbsp;<\/strong>360seconds<\/p>\n\n\n\n<p><strong>Username:&nbsp;<\/strong>The username of cPanel<\/p>\n\n\n\n<p><strong>Password:&nbsp;<\/strong>the password which is set for your LSMCD username in cPanel.<\/p>\n\n\n\n<p>And this is how you can enable Memcached for other type of web applications.<\/p>\n\n\n\n<p>Hope this guide helps!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Among the technologies used for website caching is Memcached. Memcached can be enabled on your website. Using Memcached for your website can greatly enhance performance and dramatically cut page loading times if it largely relies on database queries. In this article, we will get to know how to setup Memcached on your website. Let\u2019s get [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":23377,"menu_order":1508,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-19126","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/19126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/comments?post=19126"}],"version-history":[{"count":1,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/19126\/revisions"}],"predecessor-version":[{"id":19131,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/19126\/revisions\/19131"}],"up":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/23377"}],"wp:attachment":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/media?parent=19126"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=19126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}