Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #20158
| From | Christoph Becker <cmbecker69@gmx.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | OT: Accept-Encoding (was: 'pushing' vs direct array assignment ?) |
| Date | 2013-06-05 15:23 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <kone3i$nbf$1@speranza.aioe.org> (permalink) |
| References | (3 earlier) <b14rcqFnmifU1@mid.individual.net> <kokvr4$5ve$1@dont-email.me> <b16r2sF8v5oU1@mid.individual.net> <kom77n$eeo$2@dont-email.me> <h0duq8paqebir9svtobjao8manico9to5r@4ax.com> |
Tim Slattery wrote: > Martin Leese <please@see.Web.for.e-mail.INVALID> wrote: > >> Mel Smith wrote: >> >>> Martin said: >>>> I am missing someting, here. How do you >>>> zip JavaScript code and still get it to run >>>> in the browser? >>> >>> Hi Martin: >>> >>> In your Apache Server configuration file (httpd.conf), ensure the >>> following are set: >>> >>> LoadModule deflate_module modules/mod_deflate.so >>> >>> then in your specific virtual host ensure the following are added: >>> >>> AddOutputFilterByType DEFLATE text/html text/plain text/xml >>> AddOutputFilterByType DEFLATE text/css text/javascript >>> AddOutputFilterByType DEFLATE application/x-javascript >> >> Thank you, but I don't have control of >> people's browsers. > > Those are server commands, telling the server to compress those files > before shipping them. But is it true that all browsers know what to do > when they receive such a file? A client may send an Accept-Encoding header[1] to tell the server about the encodings he is able to handle. The server should not send any response that is not acceptable according to this request header. [1] <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3> -- Christoph M. Becker
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
'pushing' vs direct array assignment ? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-03 13:59 -0600
Re: 'pushing' vs direct array assignment ? Scott Sauyet <scott.sauyet@gmail.com> - 2013-06-03 13:39 -0700
Re: 'pushing' vs direct array assignment ? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-03 14:46 -0600
Re: 'pushing' vs direct array assignment ? Stefan Weiss <krewecherl@gmail.com> - 2013-06-04 02:07 +0200
Re: 'pushing' vs direct array assignment ? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-03 18:40 -0600
Re: 'pushing' vs direct array assignment ? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-03 20:38 -0600
Re: 'pushing' vs direct array assignment ? Martin Leese <please@see.Web.for.e-mail.INVALID> - 2013-06-04 09:11 -0600
Re: 'pushing' vs direct array assignment ? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-04 12:47 -0600
Re: 'pushing' vs direct array assignment ? Stefan Weiss <krewecherl@gmail.com> - 2013-06-04 22:44 +0200
Re: 'pushing' vs direct array assignment ? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-04 16:02 -0600
Re: 'pushing' vs direct array assignment ? Martin Leese <please@see.Web.for.e-mail.INVALID> - 2013-06-04 20:24 -0600
Re: 'pushing' vs direct array assignment ? Gregor Kofler <usenet@gregorkofler.com> - 2013-06-05 14:50 +0200
Re: 'pushing' vs direct array assignment ? Martin Leese <please@see.Web.for.e-mail.INVALID> - 2013-06-05 22:38 -0600
Re: 'pushing' vs direct array assignment ? Tim Slattery <Slattery_T@bls.gov> - 2013-06-05 08:51 -0400
OT: Accept-Encoding (was: 'pushing' vs direct array assignment ?) Christoph Becker <cmbecker69@gmx.de> - 2013-06-05 15:23 +0200
Re: 'pushing' vs direct array assignment ? RobG <rgqld@iinet.net.au> - 2013-06-05 18:12 -0700
Re: 'pushing' vs direct array assignment ? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-06 08:54 -0600
csiph-web