Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

DeferJs

Security covered Under active development 106 sites

This module uses the deferjs library to delay the loading of JavaScript files until the DOM is fully loaded, which can help improve your site's performance. It also offers options for custom delays and lazy loading of CSS and JavaScript.

DeferJs module is based on a tiny library deferjs.
Using this library we can delay or lazy load static resources like js and css.
This library also provide functionality of defering js files. It means, js files will not be loaded or excuted until entire DOM is loaded and rendered.
This module is very useful to fix Total Blocking Time.
In this module we have automated funtionality to defer, js files only, for other functionailties like custom delay css and js, lazyloading etc please refer to available option from library page deferjs

Configration

after installation, go to admin/config/performance/deferjs
keep the setting as per you use.

Drupal 9–11

Ask your assistant about DeferJs

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Dec 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
1.0.5 Stable 9–11 Oct 15, 2025
1.0.4 Stable 9–11 Jul 30, 2025
1.0.2 Stable 9–11 May 20, 2025
1.0.1 Stable 9–10 May 9, 2024
1.0.x-dev Dev 9–11 Dec 13, 2023