Memcached is a cache server released under the BSD license for the general storage and retrieval of data from the main memory. The software is used mainly for web pages that store data from database systems temporarily on the server.
We offer the latest version for your Managed Flex Server and update it regularly. In the Control Panel, you can see which port we use to run Memcached: Host: localhost:11211
Requirements
Memcached can be used on all Managed Flex Servers.
Wordpress
Several WordPress plugins are available that can be used to configure the cache options for Memcached. We recommend using either Powered Cache or Simple Cache.
Once the plugin is installed, enable it in the overview and then open the settings. Here, you can activate the cache functions for Memcached and there are additional settings available, depending on the plug-in.
Note: Installing and enabling multiple cache plugins simultaneously can lead to conflicts. This is why we recommend testing various plugins before choosing which plugin to use.
Drupal 8
To use Memcached in Drupal, you must first install the necessary module by clicking a download link or opening it from a .tar.gz file directly. The latest versions can be found on the official Drupal website for Memcache and Memcache Storage.
Once you have installed the modules, you must then add the following lines to the file “./sites/default/settings.php”:
// Set’s default cache storage as Memcache and excludes database connection for cache
$settings['cache']['default'] = 'cache.backend.memcache_storage';
// Set’s Memcache key prefix for your site and useful in working sites with same memcache as backend.
$settings['memcache_storage']['key_prefix'] = '';
To ensure that Memcached is displayed in the status report, we also recommend clearing the entire cache.
Magento
Magento recommends Redis over Memcached. The explanation can be found in the official Magento documentation.
Joomla!
Joomla! includes its own option to select the desired cache method in the settings. The “Cache Handler” can be selected by going to System > Configuration > System > Cache. In this case, we choose “Memcached”. Use the IP address 127.0.0.1 as the server host, and the server port 11211.
TYPO3
To use Memcached with Typo3, only the LocalConfiguration.php has to be modified with the following code:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['dbal'] = array(
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\MemcachedBackend',
'options' => array(
// port is mandatory!
'servers' => array('localhost:11211', 'otherhost:11211', 'thirdhost:11211'),
)
);
For more information, refer directly to the official Typo3 documentation.
Neos
In Neos, the following file has to be modified: ./Packages/Framework/Neos.Eel/Configuration/Caches.yaml
By default, the file looks like this:
Eel_Expression_Code:
frontend: Neos\Cache\Frontend\StringFrontend
backend: Neos\Cache\Backend\SimpleFileBackend
The cache is then adjusted as follows:
Eel_Expression_Code:
frontend: Neos\Cache\Frontend\StringFrontend
backend: Neos\Cache\Backend\MemcachedBackend
For more information and guides, refer directly to the Neos documentation.
For support requests please use this form instead.