Limited supportUse with care and provide a fallback when broad support matters.

Overview

Compression Dictionary Transport is a mechanism for using designated HTTP responses as an external dictionary for future HTTP responses for compression schemes that support using external dictionaries (e.g., Brotli and Zstandard) It is most useful when native HTML semantics or browser capabilities can replace custom implementation work.

Browser support

Feature Desktop Mobile
Chrome
Edge
Firefox
Safari
Chrome Android
Safari iOS
130
130
130

Valid for link, it defines a Compression dictionary transport that can be used to compress future downloads for resources on this site so the download sizes of those resources are smaller than standard compression.

130
130
130

A format that uses the Dictionary-Compressed Brotli algorithm. See Compression Dictionary Transport.

130
130
130

A format that uses the Dictionary-Compressed Zstandard algorithm. See Compression Dictionary Transport.

130
130
130

A format that uses the Dictionary-Compressed Brotli algorithm. See Compression Dictionary Transport.

130
130
130

A format that uses the Dictionary-Compressed Zstandard algorithm. See Compression Dictionary Transport.

130
130
130

The HTTP Dictionary-ID request header references a dictionary that can be used in Compression Dictionary Transport to compress the server's response.

130
130
130

The HTTP Use-As-Dictionary response header lists the matching criteria that the Compression Dictionary Transport dictionary can be used for, for future requests.

130
130
130
1+Supported (version) Not supported Has note Sub-feature descriptions sourced from MDN Web Docs (CC BY-SA 2.5)

Syntax

HTML
<!-- Specify dictionary in response header --> <!-- Use-As-Dictionary: match="/js/*" --> <link rel="dictionary" href="/dict/v1.dict"> <script src="/js/app.js"></script>

Live demo

Dictionary transport idea

Describe how shared dictionaries can improve compression for repeated payload patterns.

PreviewFullscreen

Best-fit scenarios

Compression dictionaries help most when many responses share the same structure or wording.

PreviewFullscreen

Operational caution

The feature adds deployment coordination and cache complexity alongside smaller transfers.

PreviewFullscreen

Use cases

  • Control document behavior

    Use Compression Dictionary Transport to influence loading, metadata, or script behavior at the document level.

  • Tune performance strategy

    Apply Compression Dictionary Transport when earlier resource hints or document settings improve startup or runtime behavior.

Cautions

  • Test Compression Dictionary Transport in your target browsers and input environments before depending on it as a primary behavior.
  • Provide a fallback path or acceptable degradation strategy when support is still limited.

Accessibility

  • Make sure Compression Dictionary Transport supports the intended task without making the page harder to perceive, understand, or operate.

Powered by web-features