Sunday, 23 February 2025
26.1 C
Singapore
29.3 C
Thailand
19.9 C
Indonesia
25.5 C
Philippines

WordPress 6.4 boosts website speed through enhanced script loading

WordPress 6.4 significantly improves website speed by introducing intelligent script loading features, offering website developers and visitors a smoother, faster experience.

The newest upgrade to WordPress, labelled version 6.4, brings a bundle of changes aimed at enhancing website speed. These adjustments mainly affect how scripts are loaded on a site’s front-end interface, offering a quicker and smoother user experience.

Making web pages faster with smart script management

Previously, JavaScript files linked to WordPress themes and plugins were loaded without particular instructions for asynchronous loading. As a result, these scripts would stall other content from downloading, slowing down the webpage’s loading process.

With this new update, WordPress has introduced strategies for script loading into its core and bundled themes. Specifically, the update leverages ‘defer’ and ‘async’ attributes to improve script loading. These attributes direct the browser to either load scripts in the background (‘async’) or only after the rest of the webpage has loaded (‘defer’). The net effect is a considerable reduction in time for a webpage to become fully interactive.

The technical details of speeding up WordPress

The WordPress 6.4 update includes additional ‘defer’ attributes for JavaScript files that manage elements like navigation menus and embedded media. Likewise, the wp-embed script, responsible for displaying embedded posts, now also uses ‘defer’.

Before this update, there wasn’t a uniform way to include these attributes. However, with a dedicated API introduced in WordPress 6.3 and fully implemented in version 6.4, developers now have a standardised method to control script loading timings.

Moreover, this update rearranges where some scripts are placed within the webpage’s code. Most deferred scripts are moved back into a page’s <head> section. Since these scripts no longer block the page from rendering, the browser can discover and cache them sooner, further boosting website performance.

Certain less crucial scripts, like those for comment replies, are now in the footer but loaded asynchronously using ‘async’. This allows these scripts to load in parallel with other webpage resources.

What this update means for website users

The immediate benefit for the average website visitor is the faster loading of pages. If you’re using a WordPress-based site, you’re likely to experience less ‘jank,’ which means fewer unexpected shifts in page elements once the page has loaded. This update sets the stage for even more speed and performance improvements.

Hot this week

Singapore businesses embrace AI to boost efficiency

Singapore businesses and government agencies use AI to improve efficiency, reduce costs, and enhance productivity, as shared at Microsoftโ€™s AI Tour.

Researchers train AI to understand animal emotions

Researchers are training AI to recognise animal emotions, helping farmers, vets, and pet owners detect pain and distress in animals more accurately.

LG unveils new SKS branding for luxury kitchen suite at KBIS 2025

LG rebrands Signature Kitchen Suite to SKS at KBIS 2025, introducing new luxury appliances like a free-zone induction range and an advanced island system.

Amazon to shut down its Android app store in August

Amazon will shut down its Android app store on August 20, 2025, and discontinue the Amazon Coins program, with refunds for unused coins.

Apple adds new recipes section to its News app

Apple is adding a new recipes section to its News app, offering News Plus subscribers access to thousands of recipes and curated food stories.

BT and Equinix expand partnership to enhance global interconnectivity

BT and Equinix expand their partnership to boost interconnectivity for multinational businesses, deploying BTโ€™s Global Fabric NaaS in 40+ Equinix data centres worldwide.

LG unveils new SKS branding for luxury kitchen suite at KBIS 2025

LG rebrands Signature Kitchen Suite to SKS at KBIS 2025, introducing new luxury appliances like a free-zone induction range and an advanced island system.

LG unveils advanced laundry solutions at KBIS 2025

LG unveils its latest heat pump washer and dryer lineup at KBIS 2025, featuring AI-driven efficiency, ventless design, and smart connectivity.

The Vision Pro is now easier to share, and getting a new iPhone app

Appleโ€™s Vision 2.4 update makes sharing the Vision Pro easier, introduces a new iPhone app for content discovery, and adds the Spatial Gallery app.

Related Articles