From owner-cvs-all@FreeBSD.ORG Sat Feb 26 14:48:09 2011 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C407A106564A; Sat, 26 Feb 2011 14:48:08 +0000 (UTC) (envelope-from kuriyama@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B2E868FC0C; Sat, 26 Feb 2011 14:48:08 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p1QEm8Nr005911; Sat, 26 Feb 2011 14:48:08 GMT (envelope-from kuriyama@repoman.freebsd.org) Received: (from kuriyama@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p1QEm8U8005910; Sat, 26 Feb 2011 14:48:08 GMT (envelope-from kuriyama) Message-Id: <201102261448.p1QEm8U8005910@repoman.freebsd.org> From: Jun Kuriyama Date: Sat, 26 Feb 2011 14:48:08 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/www Makefile ports/www/p5-Plack-Middleware-Precompressed Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 14:48:09 -0000 kuriyama 2011-02-26 14:48:08 UTC FreeBSD ports repository Modified files: www Makefile Added files: www/p5-Plack-Middleware-Precompressed Makefile distinfo pkg-descr pkg-plist Log: Plack::Middleware::Precompressed is an alternative (or rather, complement) to middlewares like Deflater, which will compress response bodies on the fly. For dynamic resources, that behaviour is necessary, but for static resources it is a waste: identical entities will be compressed over and over. Instead, Precompressed allows you to compress static resources once, e.g. as part of your build process, and then serve the compressed resource in place of the uncompressed one for compression-enabled clients. To do so, it appends a .gz suffix to the request URI and tries to serve that. If that fails, it will try again with the unmodified URI. WWW: http://search.cpan.org/dist/Plack-Middleware-Precompressed/ Revision Changes Path 1.2816 +1 -0 ports/www/Makefile 1.1 +26 -0 ports/www/p5-Plack-Middleware-Precompressed/Makefile (new) 1.1 +2 -0 ports/www/p5-Plack-Middleware-Precompressed/distinfo (new) 1.1 +13 -0 ports/www/p5-Plack-Middleware-Precompressed/pkg-descr (new) 1.1 +4 -0 ports/www/p5-Plack-Middleware-Precompressed/pkg-plist (new)