Server & Hosting Performance

Firefox 161 adds shared dictionaries for smaller responses

The browser update expands support, while deployment still depends on the delivery system.

A server and browser share a dictionary card with matching teal blocks.

Firefox 161 adds Compression Dictionary Transport, giving servers another way to reduce repeated bytes in HTTP responses. Mozilla's developer release notes date the release to November 24, 2026. The change supports a more efficient delivery path when the browser already holds an eligible dictionary, but it does not automatically compress every website differently.

What Firefox now supports

The Firefox 161 developer release notes describe the exchange: a server offers a response as a dictionary, the browser identifies that stored dictionary on a later matching request, and the server can encode the next response against it. Dictionary-compressed Brotli uses dcb; dictionary-compressed Zstandard uses dcz.

This is a browser capability, not a hosting setting that Mozilla switches on for a website. The delivery system still needs to supply dictionaries and produce the corresponding encoded responses. Existing pages can continue using their established delivery path while an operator evaluates whether dictionary support is useful.

For a site owner, the immediate question is therefore specific: does the server or CDN support this negotiation for resources that visitors repeatedly download? A browser upgrade alone does not answer it. Nor does the release establish a universal reduction in transferred bytes for every site.

The useful unit is repeated content

Ordinary lossless compression reduces repetition within the content being encoded. A shared dictionary lets the encoder refer to useful bytes already available at the receiving end. An earlier application bundle can therefore help compress a later bundle that retains much of its content.

The browser must first obtain the relevant dictionary. A small later response is not a complete accounting of the cost if the experiment also required a separate dictionary download. Compare the first visit and the return journey, including whatever was transferred to establish the dictionary.

Choose a candidate whose versions genuinely share content. A bundle that changes little between releases is a more intelligible starting point than a collection of unrelated files. Keep ordinary browser caching in the comparison: a reusable fresh response can avoid a download entirely, while dictionary compression changes how a necessary response travels.

Follow the negotiated response

Use-As-Dictionary describes which future requests may use a supplied resource as a dictionary. A matching browser request can then send Available-Dictionary, which identifies the dictionary through a SHA-256 hash. The request's accepted encodings and the response's actual encoding complete the negotiation.

Header What it tells the delivery system
Use-As-Dictionary Which requests may use the offered dictionary
Available-Dictionary Which matching dictionary the client has
Accept-Encoding Which response encodings the client accepts
Content-Encoding Which encoding the response actually uses

These are different pieces of evidence. Seeing an offered dictionary does not prove that a later response used it. Inspect both requests, check the resulting encoding and verify that the browser receives the intended current content. Keep a working response for clients that do not offer a suitable dictionary.

Cache variants need explicit handling

A dictionary-compressed response depends on more than its URL. A client with a different dictionary, or none, cannot be assumed to decode the same representation. MDN's transport guide specifies Vary: accept-encoding, available-dictionary for cacheable responses using this negotiation.

That requirement needs attention at every cache that handles the response. Review the actual behavior of a CDN or proxy, rather than assuming that its generic compression feature understands dictionary variants. The existing edge caching guide explains why response selection and cache keys matter independently of a cache hit.

Dictionary eligibility also has a lifetime. MDN documents that the response's cache policy affects whether the browser can retain and use it as a dictionary. Treat an absent dictionary on a later request as something to investigate, not as proof that the browser ignored the feature. Check freshness, matching rules and the response that originally supplied it.

Test the whole delivery path before expanding

Start with one public resource family and a reversible deployment. Record the resource versions, browser version, dictionary state and encoding for each run. Repeat the test with an empty browser state, an eligible stored dictionary and a client that does not negotiate dictionary compression. All three paths must return correct content.

Measure transferred bytes alongside loading behavior and server work. Smaller responses may help a network-bound resource, but they do not demonstrate that application code executes faster or that a particular page metric improved. Compare equivalent journeys and report the observed result without turning a byte reduction into a performance promise.

Firefox's release broadens the opportunity to test this delivery technique. The practical next step is a limited experiment with explicit fallback and cache checks, followed by a decision based on the site's own traffic and deployment model. Preserve the simpler delivery path until that evidence shows where dictionaries earn their added complexity.

Related guides