Back to Content

rel="compression-dictionary

files/en-us/web/html/reference/attributes/rel/compression-dictionary/index.md

latest1.0 KB
Original Source

{{SeeCompatTable}}

The compression-dictionary keyword for the rel attribute of the {{HTMLElement("link")}} element is a link that browsers can use to download a {{glossary("Compression dictionary transport", "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 {{HTTPHeader("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 for more information.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also