Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 92621 invoked from network); 16 Oct 2007 08:25:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2007 08:25:08 -0000 Received: (qmail 34762 invoked by uid 500); 16 Oct 2007 08:24:51 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 34741 invoked by uid 500); 16 Oct 2007 08:24:51 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 34717 invoked by uid 99); 16 Oct 2007 08:24:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 01:24:51 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of modperl@howlingfrog.com designates 66.199.149.218 as permitted sender) Received: from [66.199.149.218] (HELO mail.howlingfrog.com) (66.199.149.218) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 08:24:53 +0000 Received: from mail.howlingfrog.com (cheese.howlingfrog.com [127.0.0.1]) by localhost (Postfix) with SMTP id 870DE4598E5 for ; Tue, 16 Oct 2007 01:24:31 -0700 (PDT) Received: from graham.internal.howlingfrog.com (svn.howlingfrog.com [70.66.192.146]) by mail.howlingfrog.com (Postfix) with ESMTP id 370264598E2 for ; Tue, 16 Oct 2007 01:24:31 -0700 (PDT) From: Graham TerMarsch Organization: Howling Frog To: modperl List Subject: ANNOUNCE: XS-based minifiers for JS/CSS Date: Tue, 16 Oct 2007 01:24:29 -0700 User-Agent: KMail/1.9.5 X-Notice: Duplication and redistribution without express consent of author is strictly prohibited. MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710160124.29990.modperl@howlingfrog.com> X-Virus-Checked: Checked by ClamAV on apache.org After receiving some feedback from people about my Apache2 auto-minification filters for JS/CSS, and seeing that the only issue people seemed to have was that the underlying minifiers weren't terribly fast, I've gone ahead and have rebuilt them using XS. I've also updated the Apache2 filters themselves so that they now prefer to use these XS versions if they're available, but fallback to the pure-Perl ones if they're not. Doing some "dumb testing" here and just running things through locally, I've seen anywhere from a 100-250x speedup in using these XS versions. If you had -any- performance issues with the previous versions of these filters, I recommend testing out these XS based minifiers and seeing if they work better for you. ---------------------------------------------------------------------- Give them a few hours to propogate, and you'll find them over at: http://search.cpan.org/~gtermars/CSS-Minifier-XS-0.01_01/ http://search.cpan.org/~gtermars/JavaScript-Minifier-XS-0.01_01/ http://search.cpan.org/~gtermars/Apache2-Filter-Minifier-CSS-1.04_01/ http://search.cpan.org/~gtermars/Apache2-Filter-Minifier-JavaScript-1.04_01/ ---------------------------------------------------------------------- Any/all feedback is appreciated; its been a while since I wrote anything using XS and I'd like to make sure that it builds/compiles properly for people. -- Graham TerMarsch Howling Frog Internet Development, Inc.