Bulblub

Enabling Memcached on Acquia Cloud work with BLT

August 31, 2017

Enabling Memcache on Acquia Cloud work with BLT In /docroot/sites/default/settings.php add the following configuration code after requiring blt.settings.php.

    require DRUPAL_ROOT . "/../vendor/acquia/blt/settings/blt.settings.php";
    $settings['install_profile'] = 'lightning';

    /**
     * Memcache setting.
     *
     * Enable setting if memcache service exists.
     */
    if (\Drupal::hasService('cache.backend.memcache')) {
      $settings['cache']['default'] = 'cache.backend.memcache';
    }
Tags:

Tomotsugu Kaneko

Written by Tomotsugu Kaneko who lives and works in Japan.