Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to Defer parsing of JavaScript? Reply To: How to Defer parsing of JavaScript?

#210088
Shikkediel
Participant

I’ve been using the async attribute on script tags for it here and there but you gotta beware what scripts you use it on. The jQuery library itself for example can’t have this, it has to be loaded synchronously for any other scripts using it to be executed correctly. But external scripts that are not intertwined will get a loading speed advantage from it, all loading together instead of one at a time.

Not much more I can offer on the subject myself…