Minifier
Minifier plugin allows you to minify your CSS and JavaScript templates and reduce their file sizes.
Minifier plugin allows you to minify your CSS and JavaScript templates and reduce their file sizes.
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.
Copyright 2007-2009 Six Apart Ltd. Some Rights Reserved
jason
October 29, 2008 11:58 AM | Reply
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
Hirotaka Ogawa
November 4, 2008 10:21 PM | Reply
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.
Rob Kenny
January 31, 2009 12:35 PM | Reply
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.
davewells
April 8, 2009 11:34 AM | Reply
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!