[wp-trac] [WordPress Trac] #11453: Use compression for CSS and JS file output

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 16 10:43:21 UTC 2009


#11453: Use compression for CSS and JS file output
-----------------------------+----------------------------------------------
 Reporter:  micasuh          |       Owner:                              
     Type:  feature request  |      Status:  new                         
 Priority:  normal           |   Milestone:  3.0                         
Component:  Optimization     |     Version:  2.9                         
 Severity:  normal           |    Keywords:  css, js, minify, compression
-----------------------------+----------------------------------------------

Comment(by Denis-de-Bernardy):

 Also, there is this point to keep in mind if we were to use something php
 based:

 http://minify.googlecode.com/svn/tags/release_2.1.3/min/lib/Minify/CSS/Compressor.php

 {{{
  * This is a heavy regex-based removal of whitespace, unnecessary
  * comments and tokens, and some CSS value minimization, where practical.
  * Many steps have been taken to avoid breaking comment-based hacks,
  * including the ie5/mac filter (and its inversion), but expect tricky
  * hacks involving comment tokens in 'content' value strings to break
  * minimization badly. A test suite is available.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11453#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list