Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Minify JS

Security covered Maintenance fixes only 3,125 sites

This module optimizes your website's performance by minifying all JavaScript files, reducing their size for faster loading. It offers an interface for site administrators to scan and minify files in batches, replacing the original versions on your site. The minified files are then served to visitors, improving overall site speed and responsiveness.

The Minify JS module allows a site administrator to minify all javascript files that exist in the site's code base and use those minified files on the front end of the website. The module does not do this on the fly but instead provides an interface to allow the administrator to scan for files and minify files in a batch. The minified file then replaces the unminified version on page load. This module is compatible and more performant than the core implementation.

The 3.x version of the module which uses Matthias Mullie's PHP library 'Minify' to minify the javascript files.

This module also plays nicely with the S3 Filesystem module and the Google Cloud Storage Filesystem module.

The companion module Minify Source HTML module minifies page source HTML.

Upgrading from 1.0 to 3.0 version

The 2.0 (and 3.0) version shifts the core functionality of the module from the controller into a service. To upgrade:

  • uninstall the 1.0 version
  • update the code to the new 3.0 version
  • install
Drupal 8–11

Ask your assistant about Minify JS

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

  • file Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Apr 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
3.0.3 Stable 8–11 Dec 4, 2024
7.x-1.11 Stable Dec 4, 2024
3.0.2 Stable 8–11 Sep 6, 2024
3.0.1 Stable 8–10 Jan 15, 2024
3.0.0 Stable 8–10 Apr 18, 2023
3.x-dev Dev 8–11 Apr 18, 2023