Wednesday, 22 October 2025
26.9 C
Singapore
27.1 C
Thailand
27.6 C
Indonesia
28.7 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

Delta Electronics showcases smart manufacturing solutions at ITAP 2025

Delta Electronics showcases smart automation, robotics, and energy solutions at ITAP 2025, driving the shift towards Industry 5.0.

Red Hat launches Red Hat AI 3 to bring distributed AI inference to production

Red Hat AI 3 enables distributed AI inference at scale, improving collaboration and accelerating enterprise adoption of AI.

TeamViewer integrates AI-driven workplace solutions with Salesforce Agentforce IT Service

TeamViewer integrates AI-powered DEX and remote connectivity with Salesforce Agentforce IT Service to boost IT efficiency and reliability.

X tests new link-handling system to boost in-app engagement

X tests a new iOS link feature that keeps engagement buttons visible and introduces AI-powered content recommendations to boost in-app activity.

NVIDIA unveils first US-made Blackwell wafer as domestic chip production expands

NVIDIA unveils its first US-made Blackwell wafer at TSMC’s Arizona facility, marking a major milestone in domestic AI chip production.

SFIC unveils five-year roadmap to strengthen Singapore’s furniture industry

SFIC launches its 2026–2030 roadmap to drive innovation, digitalisation, and global growth for Singapore’s furniture industry.

Twitch CEO responds to streamer assault at TwitchCon 2025

Twitch CEO Dan Clancy responds to streamer Emiru’s assault at TwitchCon 2025 amid criticism over safety and Twitch’s handling of the incident.

Microsoft releases emergency Windows 11 update to fix recovery bug

Microsoft has issued an emergency Windows 11 update to fix a recovery bug that disabled USB mouse and keyboard support in WinRE.

Whisker introduces Litter-Robot 5 Pro with AI facial recognition for cats

Whisker introduces the Litter-Robot 5 Pro, featuring AI facial recognition and new smart features for advanced cat care.

Related Articles