Prune net-mgmt/pnp-icinga
[dports.git] / www / p5-Compress-LeadingBlankSpaces / pkg-descr
1 Compress::LeadingBlankSpaces - Perl class to compress leading blank
2 spaces in (HTML, JavaScript, etc.) web content.
3
4 This class provides the functionality for the most simple web content
5 compression.
6
7 Basically, the outgoing web content (HTML, JavaScript, etc.) contains
8 a lot of leading blank spaces, because of being structured on
9 development stage.  Usually, the client browser ignores leading
10 blank spaces.  Indeed, the amount of those blank spaces is as
11 significant as 10 to 20 percent of the length of regular web page.
12 We can reduce this part of web traffic on busy servers with no
13 visible impact on transferred web content, especially for old
14 browsers incapable to understand modern content compression.
15
16 The main functionality of this class is concentrated within the
17 "squeeze_string" member function that is supposed to be used inside
18 the data transfer loop on server side.  The rest of the class is
19 developed in order to serve possible exceptions, like pre-formatted
20 data within HTML.
21
22 WWW: http://search.cpan.org/dist/Compress-LeadingBlankSpaces/