How To Enable Memcached On Your Website
Unlike traditional hosting providers, MonsterMegs offers object caching on your website free of charge. This tutorial will show you how to enable Memcached on your website.
What is Object Caching?
Object caching refers to the storage of database results, and it helps the system not to process the same queries over and over again. This caching system is particularly useful for websites with heavy databases.
What is Memcached?
Memcached is an open-source memory object caching system that a website can use to help accelerate page load times. Memcached can significantly help improve website performance.
How To Enable Memcached in cPanel
You can easily enable Memcached from your cPanel account by following the steps described below:
1) Log into cPanel
2) Scroll down to the Advanced section and click on the LSMCD User Manager icon.
3) The next step is to generate a password for your LSMCD username. Click on the Change Password button.
4) You will now have the option to set a new password for your LSMCD username.
How To Enable Memcached for your WordPress Website
If your site is WordPress-based and you want to use the Litespeed Cache plugin, please follow the instructions provided below to enable Object Cache.
Are you tired of slow WordPress hosting? We use LiteSpeed caching to deliver content to your visitors almost instantly. Check out our WordPress Hosting plans!
From your WordPress Dashboard, navigate to LiteSpeed Cache > Cache > Object.
ON
and Method should be Memcached
As explained above, set only the Username and Password that you've previously set in cPanel. The other fields should remain set as default.
Do this for each WordPress install as necessary.
That's all. Now you know how to enable Object Cache for your WordPress site.
How To Enable Memcached for other web apps
If your site runs from a different platform and you want to use Memcached, please use the settings provided below to enable Object Cache.
Method: Memcached
Host: 127.0.0.1
Port: 11211
Default Object Lifetime: 360 (seconds)
Username: your cPanel username
Password: the password set for your LSMCD username in cPanel.