Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: JavaScript Packers, Compression & Decompression Date: Fri, 28 Nov 2014 15:43:02 +0100 Organization: solani.org Lines: 15 Message-ID: References: <3a302923-e399-49f5-a4fa-5b6b7f571864@googlegroups.com> <3eb256fa-e07e-4cbc-8e3d-3d54f92ffc9e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1417185772 28357 eJwNwoENwDAIA7CXiAqUnANU+f+EzXKcRO71jPRQiDYNojjWbGGf4qGy2E78KQXM9tw57vYBFw0Qcw== (28 Nov 2014 14:42:52 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Fri, 28 Nov 2014 14:42:52 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 X-User-ID: eJwFwYEBwDAEBMCV+sFjHCn2HyF3JgR/VxrV1vbWR9PIniLuNCrKUzcKEnAORxq39iT6jD8lKBFl In-Reply-To: <3eb256fa-e07e-4cbc-8e3d-3d54f92ffc9e@googlegroups.com> Cancel-Lock: sha1:L14pc2//rOHmzv/k8eZ/H/svHdM= X-NNTP-Posting-Host: eJwFwQkBwDAIA0BLHZDA5FAe/xJ6B+XHciNoWGxLsGbQHK+fnmI7EwljhnrdFe876+eYVegDMWkRqA== Xref: csiph.com comp.lang.javascript:26237 Chris White wrote: > So again I ask why can't JavaScript offer compression formats. "It's > not JavaScript's job" is not sufficient for me, it's everyone's job! > Pointing out how stupid I am (pointed ear troll), doesn't really > answer it either. It would be nice to have it built in to JavaScript > and also built into all browsers, that way all traffic (to and from > browser) could be compressed at all times. JavaScript is not necessarily implemented (or enabled) in an HTTP client (there is no such requirement). Therefore it makes no sense to push the responsibility of decompression to JavaScript. -- Christoph M. Becker