I have always presumed that browser caching helps avoid some of the
problems with lots of javascript.

Anyway, I did exploit the script compression/obfuscation provided by
MicroSoft a few years back.
I can't remember the name of the Microsoft executable now but it was
simply a matter of applying it to the script once it was clear there was
no further development. The users in this case were all assured to be
using IE.


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Nathan Andelin
Sent: Wednesday, 12 March 2008 3:06 p.m.
To: web400@xxxxxxxxxxxx
Subject: [WEB400] JavaScript Compression


I recently began looking at JavaScript compression options. Some of the

tools I tried obfuscate the code in addition to compressing it. All of
the tools I tried created code that wasn't runable, which seemed like an

irony to me. I finally created a CL command and RPG program to compress

all JavaScript files in one directory and output them to another. My
compression algorithm is pretty basic; It removes all comments and
attempts to remove unnecessary white space, but doesn't do anything
fancy to obfuscate the code. Is anybody else compressing their
JavaScript? Have a recommended tool?

Thanks,

Nathan.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.