www/p5-Compress-LeadingBlankSpaces 0.06_1 FreeBSD
Perl class to compress leading blank spaces in web content
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- www, perl5
- Package size
- 8.2 KiB, 13.3 KiB installed
Description
Compress::LeadingBlankSpaces - Perl class to compress leading blank spaces in (HTML, JavaScript, etc.) web content.
This class provides the functionality for the most simple web content compression.
Basically, the outgoing web content (HTML, JavaScript, etc.) contains a lot of leading blank spaces, because of being structured on development stage. Usually, the client browser ignores leading blank spaces. Indeed, the amount of those blank spaces is as significant as 10 to 20 percent of the length of regular web page. We can reduce this part of web traffic on busy servers with no visible impact on transferred web content, especially for old browsers incapable to understand modern content compression.
The main functionality of this class is concentrated within the "squeeze_string" member function that is supposed to be used inside the data transfer loop on server side. The rest of the class is developed in order to serve possible exceptions, like pre-formatted data within HTML.
In the other systems
The newest version among them is 0.06, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | www/p5-Compress-LeadingBlankSpaces | 0.06_1 newest | none known | - | [email protected] | - |
| DragonFly | www/p5-Compress-LeadingBlankSpaces | 0.06_1 newest | none known | - | [email protected] | - |
| HardenedBSD | www/p5-Compress-LeadingBlankSpaces | 0.06_1 newest | no data | - | [email protected] | - |
| GhostBSD | www/p5-Compress-LeadingBlankSpaces | 0.06_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Compress-LeadingBlankSpaces
From the ports tree:
cd /usr/ports/www/p5-Compress-LeadingBlankSpaces/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Compress-LeadingBlankSpaces>0:www/p5-Compress-LeadingBlankSpaces
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 | 0.06_1 | 0.06_1 | 0.06_1 | 0.06_1 | 0.06_1 |
| FreeBSD:14:quarterly | 0.06_1 | 0.06_1 | n/a | 0.06_1 | 0.06_1 |
| FreeBSD:15:latest | 0.06_1 | 0.06_1 | n/a | 0.06_1 | 0.06_1 |
| FreeBSD:15:quarterly | 0.06_1 | 0.06_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.06_1 | 0.06_1 | 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
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Compress::LeadingBlankSpaces.3.gz
- %%SITE_PERL%%/Compress/LeadingBlankSpaces.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Compress-LeadingBlankSpaces-0.06.tar.gz | 4259 | 58cb0c6241a75479aa7c1c07ef16e76b4d7727a5e3cb7d28275990b18a9831c7 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.