WordPress 6.4 speeds up your website. We’ve streamlined script loading using ‘defer’ and ‘async’ for better performance. This means faster page interactivity.
Key points:
- JavaScript files, like navigation menus and embedded media, now load with ‘defer.’
- The wp-embed script for embedded posts also benefits from ‘defer.’
- This update, with a standardized API from 6.3, optimizes your site for Google Lighthouse, reducing delays and improving performance.
Most slower scripts are moved to the section for early caching, enhancing overall speed. Less critical scripts, like comment replies, load asynchronously in the footer.
The result? Faster page loading and smoother elements for your website visitors. It’s a win-win!