![Drupal main javascript file can't be loaded with "defer" attribute after upgrade to 8.8.1 [#3105024] | Drupal.org Drupal main javascript file can't be loaded with "defer" attribute after upgrade to 8.8.1 [#3105024] | Drupal.org](https://www.drupal.org/files/issues/2021-07-30/readystate.png)
Drupal main javascript file can't be loaded with "defer" attribute after upgrade to 8.8.1 [#3105024] | Drupal.org
![DOMContentLoaded Vs. Load Events – Differences & Optimization Tips – Website Speed Test Optimization Blog DOMContentLoaded Vs. Load Events – Differences & Optimization Tips – Website Speed Test Optimization Blog](https://cwviq.com/blog/wp-content/uploads/2023/01/domcontentloaded-load-domtree.webp)
DOMContentLoaded Vs. Load Events – Differences & Optimization Tips – Website Speed Test Optimization Blog
![document.ready Vs window.onload Vs addEventListener('load' Vs addEventListener('DOMContentLoaded' - YouTube document.ready Vs window.onload Vs addEventListener('load' Vs addEventListener('DOMContentLoaded' - YouTube](https://i.ytimg.com/vi/vTllCJrZaK8/maxresdefault.jpg)
document.ready Vs window.onload Vs addEventListener('load' Vs addEventListener('DOMContentLoaded' - YouTube
![Control the context within the app with App Lifecycle Methods - Handbooks - Freshworks Developer Community Control the context within the app with App Lifecycle Methods - Handbooks - Freshworks Developer Community](https://eu2.dh-cdn.net/uploads/db3823/optimized/2X/4/4889e803de1ac2288b1bd75354da765b6a35de97_2_1024x274.png)
Control the context within the app with App Lifecycle Methods - Handbooks - Freshworks Developer Community
![Solution to Missing DOMContentLoaded Event when Enabling both HTML Auto Minify and Rocket Loader in Cloudflare - DEV Community Solution to Missing DOMContentLoaded Event when Enabling both HTML Auto Minify and Rocket Loader in Cloudflare - DEV Community](https://res.cloudinary.com/practicaldev/image/fetch/s--Ez6kwijh--/c_imagga_scale,f_auto,fl_progressive,h_900,q_auto,w_1600/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hnkquq2py0hsoj8bj9x7.png)
Solution to Missing DOMContentLoaded Event when Enabling both HTML Auto Minify and Rocket Loader in Cloudflare - DEV Community
![javascript - Async-loaded scripts with DOMContentLoaded or load event handlers not being called? - Stack Overflow javascript - Async-loaded scripts with DOMContentLoaded or load event handlers not being called? - Stack Overflow](https://i.stack.imgur.com/kygKA.png)