www/p5-Plack-Middleware-Precompressed 1.104 FreeBSD
Perl extension to serve pre-gzipped content to capable clients
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- www, perl5
- Package size
- 9.0 KiB, 14.2 KiB installed
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.
In the other systems
The newest version among them is 1.104, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | www/p5-Plack-Middleware-Precompressed | 1.104 newest | none known | - | [email protected] | - |
| DragonFly | www/p5-Plack-Middleware-Precompressed | 1.104 newest | none known | - | [email protected] | - |
| HardenedBSD | www/p5-Plack-Middleware-Precompressed | 1.104 newest | no data | - | [email protected] | - |
| GhostBSD | www/p5-Plack-Middleware-Precompressed | 1.104 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Plack-Middleware-Precompressed
From the ports tree:
cd /usr/ports/www/p5-Plack-Middleware-Precompressed/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Plack-Middleware-Precompressed>0:www/p5-Plack-Middleware-Precompressed
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.104 | 1.104 | 1.104 | 1.104 | 1.104 |
| FreeBSD:14:quarterly | 1.104 | 1.104 | n/a | 1.104 | 1.104 |
| FreeBSD:15:latest | 1.104 | 1.104 | n/a | 1.104 | 1.104 |
| FreeBSD:15:quarterly | 1.104 | 1.104 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.104 | 1.104 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
p5-Array-RefElem>=0: misc/p5-Array-RefElemp5-Plack>=0.9942: www/p5-Plack
Runtime 2
p5-Array-RefElem>=0: misc/p5-Array-RefElemp5-Plack>=0.9942: www/p5-Plack
Test 1
p5-HTTP-Message>=0: www/p5-HTTP-Message
The full lists below include those, and their dependencies in turn.
Build dependencies 30
- converters/p5-Cpanel-JSON-XS
- converters/p5-Encode-Locale
- converters/p5-JSON-MaybeXS
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Class-Inspector
- devel/p5-Clone
- devel/p5-Devel-StackTrace
- devel/p5-Devel-StackTrace-AsHTML
- devel/p5-File-ShareDir
- devel/p5-Filesys-Notify-Simple
- devel/p5-Hash-MultiValue
- devel/p5-IO-HTML
- devel/p5-POSIX-strftime-Compiler
- devel/p5-Stream-Buffered
- devel/p5-TimeDate
- lang/p5-Try-Tiny
- lang/perl5.42
- misc/p5-Array-RefElem
- net/p5-URI
- www/p5-Apache-LogFormat-Compiler
- www/p5-Cookie-Baker
- www/p5-HTTP-Date
- www/p5-HTTP-Entity-Parser
- www/p5-HTTP-Headers-Fast
- www/p5-HTTP-Message
- www/p5-HTTP-MultiPartParser
- www/p5-LWP-MediaTypes
- www/p5-Plack
- www/p5-WWW-Form-UrlEncoded
Run dependencies 30
- converters/p5-Cpanel-JSON-XS
- converters/p5-Encode-Locale
- converters/p5-JSON-MaybeXS
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Class-Inspector
- devel/p5-Clone
- devel/p5-Devel-StackTrace
- devel/p5-Devel-StackTrace-AsHTML
- devel/p5-File-ShareDir
- devel/p5-Filesys-Notify-Simple
- devel/p5-Hash-MultiValue
- devel/p5-IO-HTML
- devel/p5-POSIX-strftime-Compiler
- devel/p5-Stream-Buffered
- devel/p5-TimeDate
- lang/p5-Try-Tiny
- lang/perl5.42
- misc/p5-Array-RefElem
- net/p5-URI
- www/p5-Apache-LogFormat-Compiler
- www/p5-Cookie-Baker
- www/p5-HTTP-Date
- www/p5-HTTP-Entity-Parser
- www/p5-HTTP-Headers-Fast
- www/p5-HTTP-Message
- www/p5-HTTP-MultiPartParser
- www/p5-LWP-MediaTypes
- www/p5-Plack
- www/p5-WWW-Form-UrlEncoded
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Plack/Middleware/Precompressed.pm
- %%PERL5_MAN3%%/Plack::Middleware::Precompressed.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Plack-Middleware-Precompressed-1.104.tar.gz | 13834 | 93b91db897d61251caadaeff07d784d58a5383fc32215f349756632c8b56033f |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.