[thelist] Is this a good idea...or am I crazy?
Ryan Finley
RyanF at SonicFoundry.com
Wed Sep 5 13:59:53 CDT 2001
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
More information about the thelist
mailing list