www/p5-Plack-Middleware-Precompressed 1.104 DragonFly
Perl extension to serve pre-gzipped content to capable clients
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- perl5, www
- Package size
- 8.3 KiB, 14.4 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 |
|---|---|---|---|---|---|---|
| DragonFly | www/p5-Plack-Middleware-Precompressed | 1.104 newest | none known | - | [email protected] | - |
| FreeBSD | 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 DPorts:
cd /usr/dports/www/p5-Plack-Middleware-Precompressed && make install clean
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
Run dependencies 3
No port depends on this one.