Adding a Persistent Object Cache for WordPress Print

  • Wordpress, memcached, A Persistent Object Cache
  • 0

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.


  1. 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( '' ) );

    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.

  2. Login to Wordpress
  3. Navigate to Plugins > Add new > Search for Use Memchached
  4. Click on the Use Memcached Install Now button
  5. Navigate to Plugins and Activate the "Use Memcached" plugin.
  6. Click on "Enable Memcached."

That is All!

Was this answer helpful?

« Back