in reply to Re (tilly) 1: Compressing/Obfuscating a Javascript file
in thread Compressing/Obfuscating a Javascript file
The browser still sends the "compression okay" headers when requesting mylib.js, but it actually does not uncompress it properly once it has received the document. The actual error I received was a JavaScript error saying "invalid" this or that, but what it referred to was a block of binary looking data, which seems to be the uncompressed data received from the webserver. And mind you, it took me some time to figure out what in the world was going on, as I forgot I had gzip compression turned on ;-)<script src="/lib/mylib.js">
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re (tilly) 1: Compressing/Obfuscating a Javascript file
by mischief (Hermit) on Oct 07, 2001 at 23:27 UTC | |
by andreychek (Parson) on Oct 08, 2001 at 01:03 UTC |