I ran the scripts and it produced 4.1MB of HTML not 7MB. (And why is
this an SVG image?)
> Holy Bible
> that I packed to JavaScript from basic HTML, packed it again, then
> compressed it. All using tools from
www.ScriptCompress.com
>
> That Entire Bible is now less than 900KB. Even Gzip Couldn't make that
> Bible less than 1.5MB.
gzip can compress the 4.1MB to 1.2MB -- less than 1.5MB.
The process you originally described -- the word list packing -- turns
the 4.1MB text into it 2.4MB. The 1.2MB file (the one you gzip to get
<900MB) uses another stage of compression and encoding. In short, two
levels of scripted compression and encoding plus gzipping the result
saves you about 0.33MB.
as it happens, bzip2 compresses the original text to less than 900KB in
one go. (Not that Content-Encoding: bzip2 is officially endorsed --
it's just a data point for your compression.)
But Thomas's points are not about the compression, but about the
disadvantages of doing this at all. In case it's not clear, I agree:
the whole idea is a bad one. My point is only that you are overselling
it in a way that will make people suspicious.
--
Ben.