bertramdev / asset-pipeline

The core implementation of the asset pipeline for the jvm
194 stars 92 forks source link

Why deferred scripts are not recommended? #219

Closed maurociancio closed 6 years ago

maurociancio commented 6 years ago

Hi there, I'm reading the docs, specifically this line:

https://github.com/bertramdev/asset-pipeline/blob/1deac5f88edd1d50fe9a03ef41a4990d8b518255/asset-pipeline-grails/src/docs/guide/usage/linking.gdoc#L63

Would you please explain why deferred scripts are not recommeded? Thanks!

davydotcom commented 6 years ago

because its bad practice to do seperate js files for each page. better to do a single manifest.