add minify feature in output class? |
(02-29-2016, 04:58 PM)skunkbad Wrote: It's actually not a bad idea. I could see it breaking people's inline JS, but it might be rare, and then they'd just learn a lesson on how to write better JS. well, ok gzip will compress the whole page, but if you have first stripped out the whitespace that would be the ideal. i tried one of the several libraries for minifying and indeed my inline JS got messed up, but without thinking it too much i thought this could be prevented by a better set of conditions in the preg_replace, right? js scripts do get minified and usually are packaged in minified, but again i didnt think of this any further, i was really curious why CI was not providing something on this, and decided to ask here about it |
Messages In This Thread |
add minify feature in output class? - by iz_no_good - 02-29-2016, 04:01 PM
RE: add minify feature in output class? - by skunkbad - 02-29-2016, 04:58 PM
RE: add minify feature in output class? - by iz_no_good - 03-01-2016, 01:51 PM
RE: add minify feature in output class? - by Narf - 02-29-2016, 10:47 PM
RE: add minify feature in output class? - by iz_no_good - 03-01-2016, 01:55 PM
RE: add minify feature in output class? - by Diederik - 03-01-2016, 06:14 AM
RE: add minify feature in output class? - by iz_no_good - 03-01-2016, 01:57 PM
RE: add minify feature in output class? - by Narf - 03-01-2016, 03:38 PM
RE: add minify feature in output class? - by iz_no_good - 03-02-2016, 05:03 PM
RE: add minify feature in output class? - by allenlee - 05-23-2016, 08:50 AM
|