Docs / JavaScript / Defer JavaScript

Defer JavaScript

Most of the plugins and themes inject their JavaScript files as render-blocking. The browser has to wait until these files are downloaded in order to render the page.

By enabling Defer JavaScript, the browser will load the script in parallel, asynchronously. But will be executed only when the page has finished parsing.


<script src="demo_defer.js"></script>


<script src="demo_defer.js" defer></script>