c7a700365b
The HTML::Clean module encapsulates a number of common techniques for minimizing the size of HTML files. You can typically save between 10% and 50% of the size of a HTML file using these methods. It provides the following features: - Remove unneeded whitespace (begining of line, etc) - Remove unneeded META elements. - Remove HTML comments (except for styles, javascript and SSI) - Replace tags with equivilant shorter tags (<strong> --> <b>) - etc. The entire proces is configurable, so you can pick and choose what you want to clean.
12 lines
276 B
Plaintext
12 lines
276 B
Plaintext
$OpenBSD: patch-lib_HTML_Clean_pm,v 1.1.1.1 2006/06/16 01:31:41 bernd Exp $
|
|
--- lib/HTML/Clean.pm.orig Wed Sep 6 19:57:26 2000
|
|
+++ lib/HTML/Clean.pm Thu Jun 15 18:47:58 2006
|
|
@@ -1,7 +1,6 @@
|
|
package HTML::Clean;
|
|
|
|
use Carp;
|
|
-use IO;
|
|
use Fcntl;
|
|
use strict;
|
|
require 5.004;
|