rel="compression-dictionary" HTML attribute value
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
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.
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 for more information.
Specifications
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
compression-dictionary |
130 | 130 | No | 115 | No | 130 | No | 86 | No | 28.0 | 130 | No |
See also
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/compression-dictionary