On my d8 site I have
AdvAgg CSS/JS Validator,
AdvAgg Minify CSS,
AdvAgg Modifier and
Advanced CSS/JS Aggregation enabled.
I have standard settings used in the AdvAgg config. For JS specifically, I am using JSmin + and delivering gzip'd assets.
js/optimized/ folder and JS runs correctly. When I check
Further, when I paste the optimized file name in
admin/config/development/performance/advagg/info, for e.g.:
js_nrTZ3IQttmDSsRueLl0pyxRvunHefp0r1WyIh5cFezg.js AdvAgg cannot find the file (but it can when aggregation is turned off).
Here is what the file paths look like with aggregation on:
Here is what they look like with aggregation turned off