Author Topic: Brotli Compression in Google Display Ads  (Read 2110 times)

ukgimp

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2241
    • View Profile
Brotli Compression in Google Display Ads
« on: June 21, 2017, 08:24:55 AM »
 In our experiments, we see data savings of 15% in aggregate over standard gzip compression, and in some instances, a savings of over 40%

https://developers.googleblog.com/2017/06/brotli-compression-in-google-display-ads.html


buckworks

  • Inner Core
  • Hero Member
  • *
  • Posts: 1637
    • View Profile
Re: Brotli Compression in Google Display Ads
« Reply #1 on: June 21, 2017, 12:51:13 PM »
This will be A Good Thing.

It's very common for images within display ads to be labelled as a problem within Page Speed. Hopefully there will be less of that now!

littleman

  • Administrator
  • Hero Member
  • *****
  • Posts: 6558
    • View Profile
Re: Brotli Compression in Google Display Ads
« Reply #2 on: June 21, 2017, 05:18:31 PM »
https://en.wikipedia.org/wiki/Brotli

Quote
Brotli was first released in 2015 for off-line compression of web fonts. The version of Brotli released in September 2015 by the Google software engineers contained enhancements in generic lossless data compression, with particular emphasis on use for HTTP compression. The encoder was partly rewritten, with the result that the compression ratio improved, both the encoder and the decoder have been sped up, the streaming API was improved, more compression quality levels have been added. Additionally, the new release shows performance improvements across platforms, with decoding memory reduction.

Unlike most general purpose compression algorithms, Brotli uses a pre-defined 120 kilobyte dictionary, in addition to the dynamically populated ("sliding window") dictionary. The pre-defined dictionary contains over 13000 common words, phrases and other substrings derived from a large corpus of text and HTML documents. Using a pre-defined dictionary has been shown to increase compression where a file mostly contains commonly-used words.