• Currently 5/5
  • 1
  • 2
  • 3
  • 4
  • 5
Minifier


Minifier plugin allows you to minify your CSS and JavaScript templates and reduce their file sizes.

4 Comments

Works well for me with MT 4.2. "Does what it says on the tin."

It would be nice to expand this so you could Minify other MT templates, like my XHTML templates, to strip out whitespace, comments, etc. If that's already possible via other means, or not advisable (?), it may be helpful to note that here. Thx.

-J

OptimizeHTML plugin has already realized such a feature:

http://plugins.movabletype.org/optimizehtml/

And, I'd like to add such a feature to this plugin, too.

OptimizeHTML needs you to add a tag to the template. I would like an option just to output the minified files without having to modified the templates.

Hi, your documentation specifies the tags <mt:CSSMinify> and <mt:JSMinify>, but they're actually <mt:CSSMinifier> and <mt:JSMinifier> (as specified in the plugin's Resources tab). With that small change, the plugin works like a charm!

Leave a comment

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.