[thelist] Is this a good idea...or am I crazy?

Chris Evans chris at fuseware.com
Wed Sep 5 14:41:57 CDT 2001


I would think that the time to decompress the script would offset any gains
by downloading.  If you have tight code, most of the rendering download time
is images.  I don't think you would see much gain.

Might be interesting to try, though :)

Chris Evans
chris at fuseware.com
http://www.fuseware.com



-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Ryan Finley
Sent: Wednesday, September 05, 2001 2:56 PM
To: 'thelist at lists.evolt.org'
Subject: [thelist] Is this a good idea...or am I crazy?


Does anyone does if this has been done, and if it would be even worth it?

What if you had a simple compression algorithm, compressed your webpages,
and then had the decompression function in javascript.  The client would
download the page, the javascript decompression function would run, and
finally a document.write.  Obviously, the function would have to be fast and
small, but you could stuff it in an external javascript file for caching.

So you would just send people this:

<script src="/Decompress.js"></script>

<script>
Document.write(decompress("430ss09340sdf02302ds...2349023"));
</script>

The string is the source to the entire page in compressed format.

Am I crazy?!

Thanks,

	Ryan Finley
	President - SurveyMonkey.com

---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !






More information about the thelist mailing list