We earlier showed how to turn off ‘css’ and ‘js’ aggregation in the ‘local’ and ‘develop’ machine-environments that we establshed in our splits. We set some syntax in the settings.local.php
file to a FALSE condition for both. Where that puts us is not aggregating in those two environments were we would work with our front-end code but allow it to aggregate in the ‘staged’ and ‘main’ (Production) sites. So in these later too, we gain the standard performance advantage of doing aggregation. There are ways to goose the performance further and this involves the use of installing the advanced aggregation module.
lando composer require 'drupal/advagg'
lando drush en advagg
For an overview of setting this module