Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Minify JS

3,160 sites Security covered
View on drupal.org

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

Activity

Total releases
2
First release
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
3.0.3 Stable Dec 4, 2024
7.x-1.11 Stable Dec 4, 2024