Date: Sat, 26 Feb 2011 14:48:08 +0000 (UTC) From: Jun Kuriyama <kuriyama@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/www Makefile ports/www/p5-Plack-Middleware-Precompressed Makefile distinfo pkg-descr pkg-plist Message-ID: <201102261448.p1QEm8U8005910@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102261448.p1QEm8U8005910>
