<![CDATA[ [Revo] The best way to minify JS/CSS (Smartoptimizer, MinifyX,Minifyregistered)? - MODX Community Forums]]> https://forums.modx.com/thread/?thread=85064 <![CDATA[Re: [Revo] The best way to minify JS/CSS (Smartoptimizer, MinifyX,Minifyregistered)?]]> https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered?page=2#dis-post-540566
If you are looking for an easy win performance wise: GZIP. Enabling GZIP will have more of an impact than minifying files ever will.

To support HTTP/2 you need to
- serve your site over HTTPS (even though this isn't required in the spec all browsers require HTTPS)
- your server needs to support HTTP/2
- your user needs to be in a modern browser or the handshake will fail and they will get HTTP/1

If you do use server side minification practices you may want to use getCache and/or statcache to cache flat to the filesystem for performance.]]>
dinocorn Apr 17, 2016, 01:20 AM https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered?page=2#dis-post-540566
<![CDATA[Re: [Revo] The best way to minify JS/CSS (Smartoptimizer, MinifyX,Minifyregistered)?]]> https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered?page=2#dis-post-537557 scorchsoft Jan 27, 2016, 07:55 AM https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered?page=2#dis-post-537557 <![CDATA[Re: [Revo] The best way to minify JS/CSS (Smartoptimizer, MinifyX,Minifyregistered)?]]> https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-533275 wemyssweb Oct 16, 2015, 03:56 AM https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-533275 <![CDATA[Re: [Revo] The best way to minify JS/CSS (Smartoptimizer, MinifyX,Minifyregistered)?]]> https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469196 Quote from: AMDbuilder at Jun 15, 2013, 11:26 PM
I agree with JP, it's better to handle as much as possible in advance

Good point, I think smartoptimizer works well with my workflow though, and when it's cached that's the equivalent of minifying it in advance.]]>
thingstodo Jun 16, 2013, 01:36 PM https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469196
<![CDATA[Re: [Revo] The best way to minify JS/CSS (Smartoptimizer, MinifyX,Minifyregistered)?]]> https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469173
That being said we are being slightly lazy using minifyx on our site. Granted we use a host of other tricks along with those to pull off a ~600ms or faster load time. It never hurts to optimize things smiley]]>
AMDbuilder Jun 15, 2013, 11:26 PM https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469173
<![CDATA[Re: [Revo] The best way to minify JS/CSS (Smartoptimizer, MinifyX,Minifyregistered)?]]> https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469163 dinocorn Jun 15, 2013, 09:11 PM https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469163 <![CDATA[Re: [Revo] The best way to minify JS/CSS (Smartoptimizer, MinifyX,Minifyregistered)?]]> https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469160
And faster pages get brownie points in Google's algorithms.]]>
thingstodo Jun 15, 2013, 08:28 PM https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469160
<![CDATA[Re: [Revo] The best way to minify JS/CSS (Smartoptimizer, MinifyX,Minifyregistered)?]]> https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469159 dinocorn Jun 15, 2013, 08:20 PM https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469159 <![CDATA[Re: [Revo] The best way to minify JS/CSS (Smartoptimizer, MinifyX,Minifyregistered)?]]> https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469158 Quote from: dinocorn at Jun 15, 2013, 07:44 PM
The best way really is to not minify on server at all (if possible). Do that client side

Why?

I thought the idea was you concatenate so there's only one call to the server and you minify so that the payload is small hence increasing the page speed and the user experience?]]>
thingstodo Jun 15, 2013, 08:17 PM https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469158
<![CDATA[Re: [Revo] The best way to minify JS/CSS (Smartoptimizer, MinifyX,Minifyregistered)?]]> https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469155 dinocorn Jun 15, 2013, 07:44 PM https://forums.modx.com/thread/85064/revo-the-best-way-to-minify-js-css-smartoptimizer-minifyx-minifyregistered#dis-post-469155