October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk7 min

Compression Dictionaries: Ship Only the Diff When Your Bundle Changes

Yes, under conditions. A returning browser that still holds the previous version of a bundle can receive the new version compressed against it, so the transfer can approach a delta. First-time visitors, unsupported clients and misconfigured caches still get ordinary compression.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Yes, but only for some visitors and only when several pieces line up. When a browser already holds the previous version of a JavaScript or CSS file, a server can compress the new version using that old file as a dictionary. Code the two versions share is then encoded as references to the old copy, so the transfer can approach a delta instead of a freshly compressed full file. The benefit disappears when the browser has no matching cached version, when the server or CDN cannot match the dictionary it advertises, or when the client does not support the dictionary encodings. In those cases the response falls back to ordinary Brotli, Zstandard or gzip.

What the browser actually receives

A compression dictionary is shared prior content, not a patch file. The new response is a compressed stream that the client can decode only by using a dictionary it already holds. RFC 9842, Compression Dictionary Transport, published in September 2025, describes the core idea in its own terms:

As an Amazon Associate I earn from qualifying purchases.

“Using a previous version of a resource as a dictionary for a newer version enables delivery of a delta-compressed version of the changes, usually resulting in significantly smaller responses than what can be achieved by compression alone.”

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The word “usually” matters. The size reduction depends on how much of the new file repeats the old one. A small change to a large bundle compresses far better against its predecessor than a rewrite does. A bundle that is reorganised, re-minified with different identifiers, or rebuilt with a different module layout shares less with its predecessor and gains less.

#1 Best Overall
Sale
Lexar D40E 128GB Dual USB 3.2 Gen 1 Type-C Jump Drive, Champagne Silver
  • USB-C 2-in-1 storage OTG: The Lexar JumpDrive Dual Drive D40E features USB Type-A and Type-C connectors in a slim, portable form factor for easy device compatibility
  • Transfer speeds up to 100MB/s: Based on internal testing, performance may vary depending upon the host device, interface, and usage conditions. 1MB=1,000,000 bytes
  • Plug and Play: Widely compatible with USB Type-C smartphones, tablets, laptops, Macs, and traditional Type-A devices, no software installation required. The 360° swivel design allows for easy switching between connectors without the hassle of losing a cap
  • Durable & Compact: The Lexar D40E USB memory stick features a metal enclosure, withstands temperatures from 0° to 50° C (32°F to 122°F), and is lightweight at 26g with dimensions of 70.4 x 16.9 x 11.7mm
  • Security & Warranty: Securely protects files using an advanced security software solution with 256-bit AES encryption. Backed by a Lexar 3-year limited warranty

How the exchange works, step by step

  1. The server marks a candidate dictionary. A response for the current bundle carries a Use-As-Dictionary header, or RFC 9842 offers the compression-dictionary link relation to point at a resource likely to help future requests. A prior version is a natural candidate when you ship an upgrade.
  2. The browser stores that resource. The earlier version sits in the browser cache and can serve as the dictionary. Chrome’s guidance states that the browser sends Available-Dictionary only when a suitable earlier resource is available in its cache, so first-time visitors never send it. See Chrome for Developers, Supercharge compression efficiency with shared dictionaries.
  3. The browser asks for the new version with dictionary information. The request carries Available-Dictionary, identifying the dictionary the browser holds, and an Accept-Encoding value that includes dcb (Dictionary-Compressed Brotli) and/or dcz (Dictionary-Compressed Zstandard). RFC 9842 registers both encoding names.
  4. The server decides which encoding to return. If it can match the advertised dictionary and the client accepts the dictionary encoding, it compresses the new version against that dictionary and returns it with the matching Content-Encoding. Otherwise it returns a conventional response.
  5. The browser reconstructs the file. It decodes the stream using the dictionary already in cache. The result is the full new bundle, which the page uses exactly as it would any other response.

Which response a client receives

Client and cache situation What the server returns
First visit, so no cached dictionary and no Available-Dictionary header Conventional Brotli, Zstandard or gzip, according to existing negotiation (Cloudflare documents this fallback)
Returning visitor with a matching cached version, and dcb or dcz accepted A dictionary-compressed response (dcb or dcz)
Client does not advertise dcb or dcz Conventional compression
Server or CDN cannot match the advertised dictionary Conventional compression, as RFC 9842 requires for this case

The header vocabulary

Header or value Sent by Role in the exchange
Use-As-Dictionary Server response Declares a resource as a candidate dictionary. Cloudflare’s passthrough forwards it.
compression-dictionary link relation Server response Points to a resource likely to help future requests, as defined in RFC 9842
Available-Dictionary Browser request Identifies the dictionary the browser already holds
Accept-Encoding containing dcb or dcz Browser request Advertises that the client can decode dictionary-compressed responses
Content-Encoding: dcb or dcz Server response Marks the body as compressed against a dictionary
Vary Server response Tells caches which request headers change the variant they must store (see the caching section)

Brotli and Zstandard variants

Dictionary-Compressed Brotli (dcb)

RFC 9842 defines a fixed 36-byte header for dcb: a four-byte magic value followed by the SHA-256 digest of the external dictionary. The digest lets the decoder confirm which dictionary the stream expects. The Shared Brotli stream format is specified in RFC 9841, Shared Brotli Compressed Data Format, published in September 2025. Its compression window is at most 16 MB. RFC 9842 notes that Brotli can still use the full dictionary when compressing and decompressing resources larger than that window.

Dictionary-Compressed Zstandard (dcz)

RFC 9842 also registers dcz. It follows the same negotiation pattern: the client advertises it, the server uses it only when it can match the dictionary, and the client falls back otherwise. The vendor example later in this article uses delta Zstandard.

Rank #2
SANDISK 128GB Ultra Flair, USB-A Flash Drive, Up to 150MB/s Read Speeds
  • High-speed USB 3.0 performance of up to 150MB/s(1) [(1) Write to drive up to 15x faster than standard USB 2.0 drives (4MB/s); varies by drive capacity. Up to 150MB/s read speed. USB 3.0 port required. Based on internal testing; performance may be lower depending on host device, usage conditions, and other factors; 1MB=1,000,000 bytes]
  • Transfer a full-length movie in less than 30 seconds(2) [(2) Based on 1.2GB MPEG-4 video transfer with USB 3.0 host device. Results may vary based on host device, file attributes and other factors]
  • Transfer to drive up to 15 times faster than standard USB 2.0 drives(1)
  • Sleek, durable metal casing
  • Easy-to-use password protection for your private files(3) [(3)Password protection uses 128-bit AES encryption and is supported by Windows 7, Windows 8, Windows 10, and Mac OS X v10.9 plus; Software download required for Mac, visit the SanDisk SecureAccess support page]

Where the savings come from, and how much to trust a number

Cloudflare’s April 30, 2026 changelog reports an internal test on a 272 KB JavaScript bundle. The response was 92.1 KB with gzip and 2.6 KB with delta Zstandard, which is about 97% smaller than the gzip response. Treat this as a vendor-reported example. It was one internal test, it has not been independently replicated in the sources reviewed, and it is not a typical expected saving. Your own ratio depends on how much of each new build repeats the previous one.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To estimate the benefit for your own bundles, compress a real pair of consecutive builds with and without the prior version as a dictionary, then weight the result by how many of your returning visitors actually hold the prior version. The first number is the saving per transfer. The second determines whether the saving reaches your users.

Rank #3
2 Pack 64GB USB Flash Drive USB 2.0 Thumb Drives Jump Drive Fold Storage Memory Stick Swivel Design - Black
  • What You Get - 2 pack 64GB genuine USB 2.0 flash drives, 12-month warranty and lifetime friendly customer service
  • Great for All Ages and Purposes – the thumb drives are suitable for storing digital data for school, business or daily usage. Apply to data storage of music, photos, movies and other files
  • Easy to Use - Plug and play USB memory stick, no need to install any software. Support Windows 7 / 8 / 10 / Vista / XP / Unix / 2000 / ME / NT Linux and Mac OS, compatible with USB 2.0 and 1.1 ports
  • Convenient Design - 360°metal swivel cap with matt surface and ring designed zip drive can protect USB connector, avoid to leave your fingerprint and easily attach to your key chain to avoid from losing and for easy carrying
  • Brand Yourself - Brand the flash drive with your company's name and provide company's overview, policies, etc. to the newly joined employees or your customers

Source: Cloudflare changelog, Shared dictionaries passthrough now in open beta.

Caching and CDN behaviour

A cacheable dictionary-compressed response must carry a Vary header that distinguishes the encodings and dictionary choices a client may send. Without it, a shared cache can store a dcb variant and hand it to a client that cannot decode it, or hand a delta built against one dictionary to a client holding another. Cache correctness is the most common place this breaks in production.

Rank #4
SIMMAX 32GB Memory Stick USB 2.0 Flash Drives Swivel Thumb Drive Pen Drive (32GB Purple)
  • GOOD VALUE PACKAGE - 1 Pack 32GB Memory Stick USB 2.0 Flash Drives with great cost performance and high quality.
  • BIG CAPACITY - The available capacity: 29.10GB-29.8GB, You can save the data of movies, music, photos, designs, programs, manuals, handouts in a high speed.Good performance in digital data storing, transferring and sharing with families, friends, workmates, clients and machines.
  • EASY TO USE & PLUG AND WORK - Support windows 7 / 8 / 10 / Vista / XP / 2000 / ME / NT Linux and Mac OS, Compatible with USB2.0 and below.
  • TWISTTURN DESIGN & EASY CARRY - The metal clip rotates 360° round the ABS plastic body which with rubber oil skin feeling finish. The capless design can avoid lossing of cap, and providing efficient protection to the USB port.
  • WARRANTY & SUPPORT - SIMMAX logo is laser printed on the USB connector surface, our products are of good quality and we promise that any problem about the product within one year since you buy.

Cloudflare documents shared dictionary passthrough as open beta on all plans as of April 30, 2026. Its passthrough forwards Use-As-Dictionary and Available-Dictionary, accepts dcb and dcz end-to-end without recompressing them, and extends its cache key using dictionary availability and Accept-Encoding. Configuration details are in Cloudflare, Shared dictionaries. The sources reviewed document this behaviour for Cloudflare only. If you use another CDN, proxy or cache layer, confirm that it preserves these headers and keys its cache on them before relying on dictionary responses.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Choosing and retaining dictionaries

Which prior versions to keep, and how long a dictionary stays fresh, are implementation decisions. MDN identifies both as choices to weigh against storage and operational cost. Keeping only the immediately previous build is the simplest policy and covers visitors who updated recently. Retaining more versions widens the set of returning visitors who can benefit, at the cost of more stored artefacts and more cache-key combinations to manage.

Best Value
IMEASON Swivel Design 16GB USB Flash Drive with Keychain, USB 2.0 Portable Thumb Drive Memory Stick, FAT32 Format Flashdrive for Data Storage, Photos, Music, Files (Black, 16 GB)
  • 【16GB Flash Drive】USB flash drives with 16GB capacity, meet your needs of daily use on work, school, home and travelling for photos, music, videos, files storage and transfer. IMEASON thumb drives can be used to store different files, easy to data backup.
  • 【Metal Swivel Cap Design】USB thumb drive is metal swivel cover provides extra protection for the usb thumbdrive connector, no usb drive cap to lose; keychain design makes it easier to carry without worrying lose it.
  • 【Wide Compatibility】USB drive supports Windows 7/8/10/11 / Vista / XP / Unix / 2000 / ME / NT Linux and Mac OS, also Supports USB 2.0 and 1.1 ports. USB Stick support TV, desktop, notebook computer, car, audio and other device. The USB Memory Stick is your great data storage and transfer companion with traveling and working.
  • 【Easy to use】usb memory stick is plug and play without any software installation. Just simply plug the Flashdrive into the port of your USB-compatible devices such as computer, laptop to start data storage or transmission.
  • 【What You Get】16 GB USB Flash Drive Thumb Drive, The default format of the usb storage flash drive is FAT32.

Security constraints

Transport, origin and CORS

RFC 9842 requires compression dictionary transport to be used only in secure contexts, meaning HTTPS. The standard cites the risk that network intermediaries may process dictionary-compressed responses incorrectly. The dictionary and the compressed response must both be readable by the client. Cross-origin use requires CORS permission, so a dictionary served from a different origin than the page needs explicit cross-origin grants.

Choosing dictionary content

RFC 9841’s security discussion of Shared Brotli says dictionary contents should not be controlled by external users. It recommends building dictionaries from content you control, or from generic large-scale content, and updating them at intervals rather than rapidly. It also describes risks from attacker-controlled combinations of dictionary and content, and the possibility of compression side channels. The practical rule is that the dictionary deserves the same security care as the content it helps produce.

Browser support and fallback

MDN’s guide to Compression Dictionary Transport labels the feature as limited availability and not Baseline. Do not assume broad browser coverage. Check the compatibility table for the browser mix in your own analytics before you rely on dictionary responses for a meaningful share of traffic. Keep a tested conventional compression path, because clients that do not request dcb or dcz continue to receive ordinary Brotli, Zstandard or gzip. See MDN Web Docs, Compression Dictionary Transport.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Evaluation checklist before rollout

  • Size: compressed bytes for representative consecutive builds, measured against your current gzip or Brotli output.
  • Cache state: the share of returning visitors likely to hold the matching prior version.
  • Browser coverage: the MDN compatibility table applied to your audience.
  • Server and CDN: header forwarding, dcb/dcz passthrough, and cache keys that vary on Available-Dictionary and Accept-Encoding.
  • Retention: how many prior versions you keep and how often the dictionary is replaced.
  • Security: HTTPS everywhere, CORS for any cross-origin dictionary, and dictionary content you control.

When the savings do not appear

  • Every response is still full gzip. Check whether the browser sends Available-Dictionary at all. Per Chrome’s guidance, it does so only when a suitable earlier resource is cached, so a fresh browser profile will always show the fallback.
  • The browser receives a variant it cannot decode. Look for a missing or incomplete Vary header, or an intermediary that caches a dcb or dcz body under a key that ignores dictionary availability.
  • The dictionary path is ignored in a cross-origin setup. Verify that CORS permits the browser to read the dictionary resource.
  • Your CDN strips the headers. Confirm that Use-As-Dictionary, Available-Dictionary and the dictionary encodings pass through unchanged.

The browser-side behaviour above follows the negotiation rules in RFC 9842, so a fallback response in any of these cases indicates a configuration or cache issue rather than a failure of the protocol.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.