Port details |
- p5-Plack-Middleware-Precompressed Perl extension to serve pre-gzipped content to capable clients
- 1.104 www =2 1.104Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2011-02-26 14:48:23
- Last Update: 2022-09-10 13:02:58
- Commit Hash: 456d4052
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Plack-Middleware-Precompressed
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Plack-Middleware-Precompressed>0:www/p5-Plack-Middleware-Precompressed
- To install the port:
- cd /usr/ports/www/p5-Plack-Middleware-Precompressed/ && make install clean
- To add the package, run one of these commands:
- pkg install www/p5-Plack-Middleware-Precompressed
- pkg install p5-Plack-Middleware-Precompressed
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Plack-Middleware-Precompressed
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1662558146
SHA256 (Plack-Middleware-Precompressed-1.104.tar.gz) = 93b91db897d61251caadaeff07d784d58a5383fc32215f349756632c8b56033f
SIZE (Plack-Middleware-Precompressed-1.104.tar.gz) = 13834
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Array-RefElem>=0 : misc/p5-Array-RefElem
- p5-Plack>=0.9942 : www/p5-Plack
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Array-RefElem>=0 : misc/p5-Array-RefElem
- p5-Plack>=0.9942 : www/p5-Plack
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- www_p5-Plack-Middleware-Precompressed
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.104 10 Sep 2022 13:02:58 |
Po-Chuan Hsieh (sunpoet) |
www/p5-Plack-Middleware-Precompressed: Update to 1.104
- Add TEST_DEPENDS
Changes: https://metacpan.org/dist/Plack-Middleware-Precompressed/changes |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.103 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.103 04 Oct 2021 19:58:01 |
Rene Ladan (rene) |
*: re-assign kuriyama@s ports to the pool, commit bit safekept
With hat: portmgr-secretary |
1.103 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.103 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.103 09 Jul 2018 08:40:18 |
mat |
Remove all := from BUILD_DEPENDS, here are never needed.
While there, cleanup, and sort depends.
When build and run dependencies are the same, there are three ways to
avoid duplicating the list while not adding the framework added
BUILD_DEPENDS to the RUN_DEPENDS. In order of preference, they are:
1) use RUN_DEPENDS to set BUILD_DEPENDS:
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= foo:bar/baz
2) create another variable and use it:
MY_DEPENDS= foo:bar/baz
BUILD_DEPENDS= ${MY_DEPENDS}
RUN_DEPENDS= ${MY_DEPENDS}
3) use BUILD_DEPENDS to set RUN_DEPENDS and force evaluation:
BUILD_DEPENDS= foo:bar/baz
RUN_DEPENDS:= ${BUILD_DEPENDS}
Sponsored by: Absolight |
1.103 27 May 2018 20:15:20 |
sunpoet |
Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.
With hat: perl |
1.103 15 Sep 2017 08:58:50 |
mat |
Fix license information for portgs that use "the same license as Perl".
Sponsored by: Absolight |
1.103 01 Apr 2016 14:33:58 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat: portmgr
Sponsored by: Absolight |
1.103 14 Jun 2015 14:13:23 |
kuriyama |
- Upgrade to 1.103. |
1.101_1 26 Nov 2014 13:08:38 |
mat |
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the (Only the first 15 lines of the commit message are shown above ) |
1.101 05 Jan 2014 15:30:10 |
az |
- support stage
Approved by: portmgr (blanket infrastructure) |
1.101 20 Sep 2013 23:36:54 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
www) |
1.101 03 Sep 2013 15:07:52 |
az |
- convert to the new perl5 framework
Approved by: portmgr (bapt@, blanket) |
1.101 19 Jan 2013 09:51:03 |
kuriyama |
- Upgrade to 1.101. |
1.005 10 Jun 2012 18:42:48 |
swills |
- Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} or
RUN_DEPENDS=${BUILD_DEPENDS} to use := which portlint has warned
about for a while.
PR: ports/168208
Approved by: portmgr (miwi) |
1.005 27 Mar 2011 10:40:26 |
kuriyama |
- Upgrade to 1.005. |
1.003 26 Feb 2011 14:48:08 |
kuriyama |
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/ |