diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2004-05-26 14:25:21 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2004-05-26 14:25:21 +0000 |
commit | 83ab2ea2b9888af7715d0a7d60a2cd45900a0940 (patch) | |
tree | 31599ec325f519e1af2015eb7eda1af2da7e314a /www/p5-Compress-LeadingBlankSpaces/pkg-descr | |
parent | 4ca5311c8693407d72c7445874870c894c3ca430 (diff) |
Notes
Diffstat (limited to 'www/p5-Compress-LeadingBlankSpaces/pkg-descr')
-rw-r--r-- | www/p5-Compress-LeadingBlankSpaces/pkg-descr | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/p5-Compress-LeadingBlankSpaces/pkg-descr b/www/p5-Compress-LeadingBlankSpaces/pkg-descr new file mode 100644 index 000000000000..f0d3f8816788 --- /dev/null +++ b/www/p5-Compress-LeadingBlankSpaces/pkg-descr @@ -0,0 +1,20 @@ +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. |