Page 1 of 1

Asynchronous JS loading not working?

Posted: Fri Aug 23, 2019 4:21 pm
by openomsk
I put a check mark in the settings to use asynchronous loading, but the attributes of defer or async do not appear in the code.
Am I missing something or is this a bug?

Image Image

It must be, if I understand correctly.
Image

Re: Asynchronous JS loading not working?

Posted: Fri Aug 23, 2019 4:27 pm
by Pablo
From the help:
Load built-in JavaScript files asynchronously
Specifies that built-in scripts will be executed asynchronously as soon as they are available.
Note that this is only useful when 'Generate external JS file for page specific scripts' is enabled, because otherwise local scripts may be executed before the external scripts they depend on have been loaded!

Re: Asynchronous JS loading not working?

Posted: Fri Aug 23, 2019 4:29 pm
by openomsk
Thanks!