---
title: "Preload files to cache"
sidebar_label: "Preload files to cache"
description: "How to preload files into the CDN server cache"
sidebar_position: 1
---

import Formbricks from '@theme/MDXComponents/Formbricks'
import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'

# Preload files to cache

Cache preloading (preload) allows you to load content into the CDN resource cache before it is requested by any user. This reduces content delivery time for the first request to a CDN resource. Preloading may be needed before a planned high load on the content origin, for example, before a sale, or to quickly update files in the cache.

Cache preloading is supported for files up to 5 GB.

Cache preloading is available 10 times per hour.

1. If you want to update files in the cache, [clear the cache](/cdn/content/cleanup-cache.mdx). Clearing the cache will remove the current cached versions.

2. In the [control panel](https://my.selectel.ru/cdn-v3), on the top menu, click **Products** and select **CDN**.

3. In the <MoreVerticalIcon /> menu of the CDN resource, select **Cache preloading**.

4. Specify the relative paths to the files you want to preload. Enter each path on a new line. You can add no more than 10 paths at a time. To preload:

   * a specific file — specify `/path/to/file.jpg`;
   * all files starting with `/path/to/` (including subfolders) — specify: `/path/to`;
   * all files in `/path/` and its subfolders — specify: `/path`.

5. Click **Cache preloading**. During preloading, the CDN resource will have a status of `PROCESSING`. Preloading will be complete when the CDN resource changes to the status `ACTIVE`.

<Formbricks />
