This tutorial covers the following topics:
If your website relies heavily on database queries, using Memcached should significantly improve its performance. This tutorial explains how does Memcache work, how to enable it and how to flush its cache.
How does Memcached work?
The Memcached service, that is part of SuperCacher, uses our own implementation of the popular Memcached system. It speeds up database calls, API calls and page rendering by storing data and objects in the server's RAM in order to reduce the number of times a database is queried. After you enable the service, it will spawn a new Memcached process for your account which will be owned by your cPanel user.
How to enable Memcached?
You can enable Memcached from the SuperCacher tool in your cPanel. Click the Level 3: Memcached tab and then the Off/On toggle button.
Next, you need to configure your web applications to use Memcached. In order to do that, you will need to know the service IP address and port. This information will be provided for you on the same page once the service is enabled.
The IP address you have to use is 127.0.0.1 and the port will be generated by the system when you enable the Memcached service.
How to flush Memcached?
To clear the cache of Memcached, you can use the Flush Cache button on the page.