|
From: Dan V. <da...@gm...> - 2014-12-01 16:16:46
|
Apache and nginx typically have a small whitelist of file types which they'll compress. For example, mod_deflate uses this whitelist <http://httpd.apache.org/docs/2.2/mod/mod_deflate.html> of mime types: text/html text/plain text/xml text/css text/javascript application/javascript To enable BAI compression, you'd need to add it to the whitelist. On Mon Dec 01 2014 at 11:11:49 AM Jim Robinson <jro...@br...> wrote: > I'm not sure this will work with binary files, I just did a test with > our apache server and it did not compress the bai file. However, I just > added the "Accept-encoding:gzip" header so if you can configure your server > to do the compression it should work. Not everyone will have access or > permissions to configure their servers, however, so I will keep the .gz > option. The compression I'm getting is on the order of 2x-3x so its > probably worthwhile. > > > Jim > > > Shouldn't that be handled by http? i.e if IGV sets "Accept-encoding: gzip" > in the request for the bai file, then the remote http server is free to > respond with "Content-encoding: gzip" and compress the response. > On Sun, Nov 30, 2014 at 10:01 PM Jim Robinson <jro...@br...> > wrote: > > > |