Okay so this is geeky home-brew musings...
I noticed that our server hosted at Miva now supports Brotli compression. I've read it is lossless and results in about a 15-27% smaller file size than gzip does. And Browsers which support Brotli send ‘br’ along with ‘gzip’ in accept-encoding request header. I know not every browser supports it yet but I think about 95% of them do. I read it also requires https which is no problem nowadays with google preference for secure sites. It is probably possible to use the accept-encoding request header to fall back to gzip if brotli isn't supported by the browser. I don't know if the apache brotli module can compress on the fly like gzip can.
I was wondering if anyone has implemented it yet in the site speed optimization efforts.
And if you did, did you do it in htaccess? or in the httpd.conf.
And does it do streaming compression like gzip?
update: php on our server will read brotli compressed files, but apache doesn't actually have mod_brotli installed... that's probably not a big obstacle though. Still musing about this.
I noticed that our server hosted at Miva now supports Brotli compression. I've read it is lossless and results in about a 15-27% smaller file size than gzip does. And Browsers which support Brotli send ‘br’ along with ‘gzip’ in accept-encoding request header. I know not every browser supports it yet but I think about 95% of them do. I read it also requires https which is no problem nowadays with google preference for secure sites. It is probably possible to use the accept-encoding request header to fall back to gzip if brotli isn't supported by the browser. I don't know if the apache brotli module can compress on the fly like gzip can.
I was wondering if anyone has implemented it yet in the site speed optimization efforts.
And if you did, did you do it in htaccess? or in the httpd.conf.
And does it do streaming compression like gzip?
update: php on our server will read brotli compressed files, but apache doesn't actually have mod_brotli installed... that's probably not a big obstacle though. Still musing about this.
Comment