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 a memcached service, a high-performance, distributed memory object caching system. To make use of memcached begin by adding the following line to the Wordpress configuration file, wp-config.php.

$memcached_servers = array( 'default' => array( '' ) );

Edit the wp-config.php file

  1. Login to cPanel
  2. Navigate to the Files Panel
  3. Open File Manager
  4. Navigate to the WordPress install directory and select the wp-config.php file
  5. Click on Edit
  6. Scroll down and locate the following line:

    /* Add any custom values between this line and the "stop editing" line. */

  7. Insert the following line after the comment line described before:

    $memcached_servers = array( 'default' => array( '' ) );

That is All!

Was this answer helpful?

« Back