A Leaner and Faster Web: How CBOR Can Improve Dynamic Content Encoding in JSON and DNS over HTTPS
Martine S. Lenders, Carsten Bormann, Thomas C. Schmidt, Matthias W\"ahlisch

TL;DR
This paper explores using CBOR, a compact binary data format, to improve dynamic content encoding in JSON and DNS over HTTPS, significantly reducing data size and latency for web content delivery.
Contribution
It introduces a CBOR-based encoding approach for JSON and DNS over HTTPS, including new compression schemes, leading to substantial size reductions and performance improvements.
Findings
JSON to CBOR reduces data size by up to 80%
CBOR-based DNS messages minimize packets by up to 95.5%
New name compression schemes save up to 226 bytes
Abstract
The Internet community has taken major efforts to decrease latency in the World Wide Web. Significant improvements have been achieved in accelerating content transport and in compressing static content. Less attention, however, has been dedicated to dynamic content compression. Such content is commonly provided by JSON and DNS over HTTPS. Aligned with the overall Web trend, dynamic content objects continue to grow in size, which increases latency and fosters the digital inequality. In this paper, we propose to counter this increase by utilizing components engineered for the constrained Internet of Things (IoT). We focus on the Concise Binary Object Representation (CBOR) and its use for dynamic content encoded in JSON or in DNS over HTTPS messages. CBOR was originally introduced to restrict packet sizes in constrained environments and enables small, effective encoding of data objects. We…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCaching and Content Delivery · Network Traffic and Congestion Control · Peer-to-Peer Network Technologies
