Skip to main content

The Case for Cross-Entity Delta Encoding in Web Compression

  • Conference paper
  • First Online:
Web Engineering (ICWE 2022)

Abstract

Delta encoding and shared dictionary compression (SDC) for accelerating Web content have been studied extensively in research over the last two decades, but have only found limited adoption in the industry so far: Compression approaches that use a custom-tailored dictionary per website have all failed in practice due to lacking browser support and high overall complexity. General-purpose SDC approaches such as Brotli reduce complexity by shipping the same dictionary for all use cases, while most delta encoding approaches just consider similarities between versions of the same entity (but not between different entities). In this study, we investigate how much of the potential benefits of SDC and delta encoding are left on the table by these two simplifications. As our first contribution, we describe the idea of cross-entity delta encoding that uses cached assets from the immediate browser history for content encoding instead of a precompiled shared dictionary: This avoids the need to create a custom dictionary, but enables highly customized and efficient compression. Second, we present an experimental evaluation of compression efficiency to hold cross-entity delta encoding against state-of-the-art Web compression algorithms. We consciously compare algorithms some of which are not yet available in browsers to understand their potential value before investing resources to build them. Our results indicate that cross-entity delta encoding is over 50% more efficient for text-based resources than compression industry standards. We hope our findings motivate further research and development on this topic.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    groups.google.com/a/chromium.org/d/msg/blink-dev/nQl0ORHy7sw/HNpR96sqAgAJ.

  2. 2.

    https://www.similarweb.com/de/top-websites/.

  3. 3.

    Still, the best dictionary was almost every time of the same subtype, e.g. text/html.

  4. 4.

    Due to limited space, we only present a few selected alternatives here and refer to https://icwe.compaz.info for an extensive overview.

References

  1. Alakuijala, J., et al.: Brotli: a general-purpose data compressor. ACM TOI 37(1), 1–30 (2019)

    Article  Google Scholar 

  2. Chan, M.C., Woo, T.: Cache-based compaction: a new technique for optimizing web transfer. In: IEEE INFOCOM 1999. Conference on Computer Communications (1999)

    Google Scholar 

  3. Knecht, D.O., Graham-Cumming, J., Prince, M.B.: Method and apparatus for reducing network resource transmission size using delta compression (2019)

    Google Scholar 

  4. Korn, D.G., Vo, K.P.: Engineering a differencing and compression data format. In: USENIX Annual Technical Conference, General Track, pp. 219–228 (2002)

    Google Scholar 

  5. McQuade, B., Mixter, K., Lee, W.H., Butler, J.: A proposal for shared dictionary compression over HTTP (2016)

    Google Scholar 

  6. Mogul, J.C., Douglis, F., Feldmann, A., Krishnamurthy, B.: Potential benefits of delta encoding and data compression for HTTP. SIGCOMM CCR 27, 181–194 (1997)

    Article  Google Scholar 

  7. Shapira, O.: SDCH at LinkedIn (2015). https://engineering.linkedin.com/shared-dictionary-compression-http-linkedin. Accessed 20 Jan 2022

  8. Wingerath, W., et al.: Speed Kit: a polyglot & GDPR-compliant approach for caching personalized content. In: ICDE, Dallas, Texas (2020)

    Google Scholar 

  9. Wollmer, B., Wingerath, W., Ferrlein, S., Gessert, F., Ritter, N.: Compaz: exploring the potentials of shared dictionary compression on the web. In: 22th International Conference on Web Engineering, ICWE (2022)

    Google Scholar 

  10. Wollmer, B., Wingerath, W., Ritter, N.: Context-aware encoding & delivery in the web. In: 20th International Conference on Web Engineering, ICWE (2020)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Benjamin Wollmer .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wollmer, B., Wingerath, W., Ferrlein, S., Panse, F., Gessert, F., Ritter, N. (2022). The Case for Cross-Entity Delta Encoding in Web Compression. In: Di Noia, T., Ko, IY., Schedl, M., Ardito, C. (eds) Web Engineering. ICWE 2022. Lecture Notes in Computer Science, vol 13362. Springer, Cham. https://doi.org/10.1007/978-3-031-09917-5_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-09917-5_12

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-09916-8

  • Online ISBN: 978-3-031-09917-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics