Created
November 24, 2018 09:14
-
-
Save aramboyajyan/aa57c998557ab53fda00e3c85b7c209c to your computer and use it in GitHub Desktop.
Local settings for Drupal 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Development settings. | |
* | |
* Created by: Aram Boyajyan | |
* https://www.aram.cz/ | |
*/ | |
// Make sure that the development services are enabled. | |
// | |
// To disable twig caching, add the following code there: | |
// parameters: | |
// twig.config: | |
// debug: true | |
// auto_reload: true | |
// cache: false | |
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/development.services.yml'; | |
// Disable CSS and JS aggregation. | |
$config['system.performance']['css']['preprocess'] = FALSE; | |
$config['system.performance']['js']['preprocess'] = FALSE; | |
// Disable render, dynamic page and page caches. | |
$settings['cache']['bins']['render'] = 'cache.backend.null'; | |
$settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null'; | |
$settings['cache']['bins']['page'] = 'cache.backend.null'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment