Skip to content
This repository was archived by the owner on Aug 9, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions Drupal8/sites/default/development.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@
// Expiration of cached pages to 0
$config['system.performance']['cache']['page']['max_age'] = 0;

// Aggregate CSS files off
$config['system.performance']['css']['preprocess'] = 0;

// Aggregate JavaScript files off
$config['system.performance']['js']['preprocess'] = 0;
// Aggregate CSS/JS files to not confuse clients with browser cache issues.
$config['system.performance']['css']['preprocess'] = 1;
$config['system.performance']['js']['preprocess'] = 1;

// Stage file proxy URL from production URL
if(getenv('AMAZEEIO_PRODUCTION_URL')){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@
// Disable render caches, necessary for twig files to be reloaded on every page view
$settings['cache']['bins']['render'] = 'cache.backend.null';
$settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';

// Disable CSS/JS aggregation.
$config['system.performance']['css']['preprocess'] = 0;
$config['system.performance']['js']['preprocess'] = 0;