Wordpress recommends the use of a "Persistent Object Cache." AlpineWeb Hosting includes the memcached server, a high-performance, distributed memory object caching system. To make use of memcached we recommend installing the Use Memcached plugin.
Installation
- Begin by adding the
WP_CACHE_KEY_SALT
constant and the $memcached_servers array to the Wordpress /wp-config.php file:
define( 'WP_CACHE_KEY_SALT', '...long..random..string...' ); $memcached_servers = array( 'default' => array( '127.0.0.1:11211' ) );
Note: The WP_CACHE_KEY_SALT - value should be compromised of a unique string of alpha-numeric characters. This means letters and numbers only. 24 characters or more are recommended.
Example:
1234AbCd5678eFgH9876iJk543LmNo1234PqRs5678TuVw9XyZ
The value must be unique for each WordPress website.
- Login to Wordpress
- Navigate to Plugins > Add new > Search for Use Memchached
- Click on the Use Memcached Install Now button
- Navigate to Plugins and Activate the "Use Memcached" plugin.
- Click on "Enable Memcached."
That is All!