BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDwww/p5-Plack-Middleware-Precompressed1.104 newestnone known-[email protected]-
DragonFlywww/p5-Plack-Middleware-Precompressed1.104 newestnone known-[email protected]-
HardenedBSDwww/p5-Plack-Middleware-Precompressed1.104 newestno data-[email protected]-
GhostBSDwww/p5-Plack-Middleware-Precompressed1.104 newestno 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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1041.1041.1041.1041.104
FreeBSD:14:quarterly1.1041.104n/a1.1041.104
FreeBSD:15:latest1.1041.104n/a1.1041.104
FreeBSD:15:quarterly1.1041.104n/an/an/a
FreeBSD:16:latest1.1041.104n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

Runtime 2

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 30
Run dependencies 30

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
FileSizeSHA256
Plack-Middleware-Precompressed-1.104.tar.gz1383493b91db897d61251caadaeff07d784d58a5383fc32215f349756632c8b56033f
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.