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';
}