b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » XXX » Message 34529 (Thread)

# How about implementing a compression algorithm
... in JavaScript ? :)

Or seriously.....

www.remotecommunications.com/apache/mod_gzip/
(, Sat 16 Mar 2002, 6:23, archived)
# There are
HTML compressors out there. It's worth running files through these things before uploading them (That way there's an optimised version on the server and you have a readable copy to work with).

I've toyed with the idea of writing a javascript optimiser for a while now. Would anyone use something like that?
(, Sat 16 Mar 2002, 6:28, archived)
# Probably.
Although they have issues with dynamic content (php, cold fusion, asp etc).

What it really needs to do is take the content and dynamically find strings that
occur multiple times and replace them with variables.
(, Sat 16 Mar 2002, 6:36, archived)