GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Downlink header

The HTTP Downlink request header is used in Client Hints to provide the approximate bandwidth in Mbps of the client's connection to the server.

The HTTP **`Downlink`** request header is used in [Client Hints](/docs/Web/HTTP/Guides/Client_hints) to provide the approximate bandwidth in Mbps of the client's connection to the server.

The hint allows a server to choose what information is sent based on the network bandwidth.
For example, a server might choose to send smaller versions of images and other resources on low bandwidth networks.

> [!NOTE]
> The Vary header is used in responses to indicate that a different resource is sent for every different value of the header (see [HTTP Caching Vary](/docs/Web/HTTP/Guides/Caching#vary)).
> Even if `Downlink` is used to configure what resources are sent, consider omitting it in the Vary header — it is likely to change often, which effectively makes the resource uncacheable.

<table class="properties">
<tbody>
<tr>
<th scope="row">Header type</th>
<td>
Request header,
<a href="/en-US/docs/Web/HTTP/Guides/Client_hints">Client hint</a>
</td>
</tr>
<tr>
<th scope="row">Forbidden request header</th>
<td>No</td>
</tr>
</tbody>
</table>

## Syntax

```http
Downlink: <number>
```

## Directives

- `<number>`
- : The downlink rate in Mbps, rounded to the nearest 25 kilobits.
The downlink rate may be used as a fingerprinting variable, so values for the header are intentionally coarse to reduce the potential for its misuse.

## Examples

A server first needs to opt in to receive the `Downlink` header by sending the Accept-CH response header containing `Downlink`.

```http
Accept-CH: Downlink
```

Then on subsequent requests the client might send a `Downlink` header back:

```http
Downlink: 1.7
```

## Specifications

## Browser compatibility

## See also

- [Improving user privacy and developer experience with User-Agent Client Hints](https://developer.chrome.com/docs/privacy-security/user-agent-client-hints) (developer.chrome.com)
- Network client hints
- RTT
- ECT
- Save-Data
- Accept-CH
- [HTTP Caching: Vary](/docs/Web/HTTP/Guides/Caching#vary) and Vary
- NetworkInformation.effectiveType

source: MDN Web Docs mirror · page

Cite this

"Downlink header". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Downlink

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

Save to pass ·