ModxMinify

ModxMinify is an extra by sterc, first released on 2018-05-03.

Package Description

MODX Minify is a MODX Extra to group and minify your CSS, SCSS, LESS and JS files. You can create groups, and each group can contain multiple files of the same type. So for instance you create a group named 'css' where you can add all your css, scss and less files. By calling the MODX Minify snippet [[!modxMinify?&group=`css`]] inside a tag in your head a minified css file will be generated and cached which will contain all your files grouped and minified!

Usage

  • Install the package via Package Management
  • Add groups and files via the manager page
  • Inside your in your template, place the snippet call, for example:

The MODX Minify snippet generates one minified file from all the files added to your specified group. The snippet automatically detects changes in your files, and also checks for changes made in the CMP (adding, updating, removing or reordering of files).

Combining groups

You can also combine multiple groups into one minified file, by using a comma-separated list of groups in your [[!modxMinify]] snippet call:

[[!modxMinify?&group=`css,css2`]]

In the above example all the files from group 'css' and 'css2' get combined into one minified CSS file.

Feature requests and issues

Feature requests and issues can be reported on the MODX Minify Github page at https://github.com/Sterc/modx-minify

Usage/Installation Instructions

Install the extra through the MODX package manager. After installation a new 'MODX Minify' menu item will appear under the 'Extras' menu in your MODX installation.

Details

Developer(s)
sterc
Released
2018-05-03
First seen
2018-05-03
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.4

ModxMinify Releases

Signature Released on  
1.0.1-pl 2018-05-03 (2 months ago)
1.0.0-pl 2017-09-04 (10 months ago)

We've also seen 5 unverified versions of ModxMinify in use on client sites, but have not been able of verifying those versions or finding out when they were released. We don't currently show these because do not yet have a way to automatically import a full historic record from a trusted source.