> ## Documentation Index
> Fetch the complete documentation index at: https://gcore-doc-1894.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Network limits: set the content delivery speed to end users

The **Download speed limit** option controls the content delivery speed to end users.

To configure the download speed limit:

1\. Navigate to CDN and select the CDN resource to configure.

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1894/9U1xXa0egFyWElxm/images/docs/cdn/cdn-resource-options/network-limits-set-the-content-delivery-speed-to-end-users/network-limits-image1.png?fit=max&auto=format&n=9U1xXa0egFyWElxm&q=85&s=3648d8f2c108d4e0b5282cefa9d7bca4" alt="CDN resources list" width="70%" data-path="images/docs/cdn/cdn-resource-options/network-limits-set-the-content-delivery-speed-to-end-users/network-limits-image1.png" />
</Frame>

2\. In the sidebar, under **Network limits**, click **Download speed limit**.

3\. Enable the **Download speed limit** toggle.

The option has two modes: **Static** and **Dynamic**.

## Static

This mode sets a limit on all content transmitted through the CDN. When this mode is selected, configure the **Connection speed** and **Limit after** parameters.

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1894/9U1xXa0egFyWElxm/images/docs/cdn/cdn-resource-options/network-limits-set-the-content-delivery-speed-to-end-users/network-limits-image3.png?fit=max&auto=format&n=9U1xXa0egFyWElxm&q=85&s=bf402a90769354e040cbcc4d73be2eaf" alt="Static mode with Connection speed and Limit after fields" width="70%" data-path="images/docs/cdn/cdn-resource-options/network-limits-set-the-content-delivery-speed-to-end-users/network-limits-image3.png" />
</Frame>

### Connection speed

This setting defines the maximum download speed per connection in kilobytes per second (kB/s). The minimum accepted value is 1 kB/s.

### Limit after

This setting defines the amount of data that downloads without a speed limit before the **Connection speed** setting takes effect. If set to 0, the download speed is limited immediately from the first byte.

## Dynamic

This mode sets different limits for different users or content types. The speed is adjusted based on the `speed` and `buffer` query string arguments.

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1894/9U1xXa0egFyWElxm/images/docs/cdn/cdn-resource-options/network-limits-set-the-content-delivery-speed-to-end-users/network-limits-image4.png?fit=max&auto=format&n=9U1xXa0egFyWElxm&q=85&s=e1f97fcc143ec7f19c632fd1ffba6b0d" alt="Dynamic mode description with speed and buffer query argument example" width="70%" data-path="images/docs/cdn/cdn-resource-options/network-limits-set-the-content-delivery-speed-to-end-users/network-limits-image4.png" />
</Frame>

The `speed` argument sets the maximum download speed, while `buffer` sets how much data transfers without the speed limit. The `buffer` argument is optional.

Pass the arguments as query string parameters. The following URL limits download speed to 50 kB/s after downloading 500 kB:

```
http://cdn.example.com/video.mp4?speed=50k&buffer=500k
```

## Option features

* For both modes, the limit is set per connection, so if a client opens two connections at the same time, the total speed is twice the specified limit.
* [Ignore Query String](/cdn/cdn-resource-options/cache/ignore-the-set-cookie-or-query-string-parameters-when-caching-content-on-cdn-servers#query-string-setting) does not affect the **Download speed limit** option. They can be used together.
