GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

`rel="compression-dictionary"` HTML attribute value

The compression-dictionary keyword for the rel attribute of the link element is a link that browsers can use to download a compression dictionary 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.

The **`compression-dictionary`** keyword for the [`rel`](/docs/Web/HTML/Reference/Elements/link#rel) attribute of the link element is a link that browsers can use to download a compression dictionary 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.

**Note:** if the website has a Content-Security-Policy header, the `connect-src` directive (or `default-src`, if `connect-src` is not set) must permit the location of the dictionary resource to avoid the request being blocked.

See the [Compression Dictionary Transport guide](/docs/Web/HTTP/Guides/Compression_dictionary_transport) for more information.

## Specifications

## Browser compatibility

## See also

- [Compression Dictionary Transport guide](/docs/Web/HTTP/Guides/Compression_dictionary_transport)

source: MDN Web Docs mirror · page

Cite this

"`rel="compression-dictionary"` HTML attribute value". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/compression-dictionary

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·