Re: New extension proposal: minify

From: Date: Tue, 11 Jun 2013 19:12:26 +0000
Subject: Re: New extension proposal: minify
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-10765@lists.php.net to get a copy of this message
Mikko took care of thread-safety, https://github.com/johnj/php5-minify/pull/1 Can someone create the minify repo @ git.php.net? - JJ On Wed, Jun 5, 2013 at 10:54 AM, JJ <jawed@php.net> wrote: > hello - I would like to propose promoting > https://github.com/johnj/php5-minify into PECL and creating > some space > for it to continue work. > > A little bit about minify: > > Why - in my employers' multi-tenant environment JS and CSS is regenerated > at runtime on content updates. This minification process was implemented in > userspace which required significant CPU I/O and increased latency. > > How - PHP functions around Douglas Crockfords' jsmin.c > > Performance yield - 578x-900x faster than the equivalent userspace > implementation. > > Stability - the current version has been in in high volume production > environment since November 2012 without any issues. > > Admittedly, I don't think minify is ready for a PECL release. > > The work that I think needs to happen before I'd feel comfortable w/a > release is: > > 1) thread safety > 2) CSS minification support (most likely based on > https://github.com/soldair/cssmin/blob/master/cssmin.c, tracks > state) > 3) package.xml > > Feedback appreciated! > > - JJ >

« previous php.pecl.dev (#10765) next »