Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

It would be nice, if we would use the async Attribut for JS-Files <script src="demo_async.js" async></script> #7116

Closed
MacKP opened this issue Jun 20, 2014 · 1 comment

Comments

@MacKP
Copy link

MacKP commented Jun 20, 2014

Here is an Example and an definition for it -> http://www.w3schools.com/tags/att_script_async.asp
Its usefull for all Modern Browsers and the older ones don't care about it.

regards

@leofeyer
Copy link
Member

Not all scripts can be loaded asynchronically though. E.g. the media box relies on MooTools being loaded, which we cannot guarantee if the files are loaded asynchronically. We'll add an option in Contao 3.4 (see #7172) but we cannot just add the attribute everywhere.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants