- If you have a managed VPS or managed Dedicated Server, please open a support ticket on the Hosting Panel at https://my.hosting.comand request memcached for your system. We will install it for you.
- If you have an unmanaged VPS, you can install memcached yourself.
- Memcached is not supported on non-Turbo shared hosting accounts at this time.
Enabling memcached for Joomla
To enable memcached for Joomla, you need to add and modify some settings in the configuration.php file. To do this, follow these steps:- Use your preferred text editor to open the configuration.php file located in the directory where you installed Joomla.
- Search for the following two lines:
- Modify these two lines as follows:
- Add the following two lines just after the lines you modified in step 3:
- Save your changes to the configuration.php file.
Configuring memcached for Joomla
After you enable memcached in the configuration.php file, additional settings are available in the Joomla administration console. To view and modify these settings, follow these steps:- Log in to your Joomla site as the administrator.
- On the top menu bar, click System, and then click Global Configuration.
-
Click the System tab, and then look under the Cache Settings heading to view the memcached settings:
You configured most of these options in the configuration.php file to enable memcached for the first time. The two exceptions are:
- Persistent Memcache(d): By default, Joomla uses a persistent connection to memcached. In other words, it uses the same connection for multiple memcached operations.
- Memcache(d) Compression: By default, Joomla does not compress data that is stored in memcached.
More information
- For more information about memcached, please visit http://www.memcached.org.
- To view the official Joomla documentation, please visit https://docs.joomla.org.