cvs commit: ports/www Makefile
ports/www/p5-Plack-Middleware-Precompressed
Makefile distinfo pkg-descr pkg-plist
Jun Kuriyama
kuriyama at FreeBSD.org
Sat Feb 26 14:48:09 UTC 2011
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)
More information about the cvs-ports
mailing list