bluelinecombo
3/3/2017 - 4:28 PM

Drupal Local setup

Drupal Local setup

Set up your settings.local.php

1. Copy and rename the sites/example.settings.local.php to be
sites/default/settings.local.php

2. Open settings.php file in sites/default and uncomment these lines, which will
include the local settings file as part of Drupal's settings file.

if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) {
  include $app_root . '/' . $site_path . '/settings.local.php';
}

comment out cache snippets

$settings['cache']['bins']['render'] = 'cache.backend.null';
and
$settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';