Thursday, 3 July 2025
28.1 C
Singapore
29 C
Thailand
24.6 C
Indonesia
29.3 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

Google adds precise Bluetooth tracking to Pixel Watch 3, but it’s not active yet

Pixel Watch 3 gets new Bluetooth tracking tech called Channel Sounding, which promises precise tracking but still needs full device support.

Google launches Gemini AI for schools and students, raising questions about future of learning

Google launches Gemini AI in schools with safety tools and fact-checking, sparking debate on its impact on learning and student development.

Xiaomi launches Smart Band 10 and brings POP Run 2025 to Singapore

Xiaomi unveils Smart Band 10 in Singapore with wellness features and fashion upgrades, alongside the return of POP Run 2025 on 12 July.

OpenAI turns to Google’s AI chips in the shift from Microsoft and Nvidia

OpenAI begins renting Google's AI chips to run ChatGPT, shifting away from Microsoft and Nvidia to lower computing costs.

Sony brings louder bass and new designs to its Ult Power speaker lineup in 2025

Sony’s 2025 Ult Power speakers offer deeper bass, longer battery, and party features, launching in Singapore in Q3.

Meta’s investment doesn’t change Scale AI’s priorities, says new CEO

Scale AI CEO Jason Droege confirms the start-up stays independent despite Meta’s 49% stake and outlines plans for broader AI growth.

Mainland investment boom lifts Hong Kong’s market

Chinese firms turn to Hong Kong listings after mainland investors spend US$93B on stocks, eyeing global growth and fresh funding sources.

Alibaba Cloud marks 10 years in Singapore with major AI and cloud expansion

Alibaba Cloud celebrates 10 years in Singapore with global AI tools, new data centres, and expanded services for your digital transformation.

Google lets you share smart home access more easily with family and kids

Google Home lets you easily assign Admin or Member roles, even for kids under 13, to manage your smart home access better.

Related Articles

Popular Categories