---
title: "Change the CDN cache settings"
url: "https://inleed.com/helpcenter/cdn-cache-settings"
language: "en"
updated: "2026-11-20"
category: "Web hosting"
type: "guide"
---

# Change the CDN cache settings

Under Performance you decide how long the CDN and visitors’ browsers keep your website’s files. The defaults suit most sites. Change them if you know what your website needs.

## Before you start

- Every change is saved at once, with no save button.

## How to change the settings

1. Log in to the [client area](https://login.inleed.net) and click **Manage** next to the domain.

   The domain’s page opens.

2. Open the **CDN & security** tab.

3. Open the **Performance** sub-tab.

4. Choose a time under **Kept in the CDN**.

   We recommend **Follow the website’s settings**. Then the website’s own cache rules apply.

5. Choose a time under **Kept in the visitor’s browser**.

   A longer time is faster for returning visitors, but they may see old files.

6. Leave **Always online** on.

   If your server doesn’t answer, the last saved files are shown.

7. Only turn on **Ignore query strings** if your website doesn’t use query strings.

   Then `/image.jpg?v=2` is treated as `/image.jpg`.

## How to know it worked

The new setting stays in the **Cache** card.

**Waiting time:** The change applies within a few minutes.

## If something doesn’t work

### Visitors see old files after a change

**What to do:** Clear the CDN cache. If it happens often, choose a shorter time or **Follow the website’s settings**.

[Clear the CDN cache](https://inleed.com/helpcenter/clear-cdn-cache)

### A page behaves oddly after query strings are ignored

**What to do:** Turn off **Ignore query strings** again and clear the cache.

[Clear the CDN cache](https://inleed.com/helpcenter/clear-cdn-cache)

## Good to know

- Clearing the CDN cache doesn’t clear visitors’ browsers. So don’t choose a long time there if your files change often.
- The pages themselves, such as the shopping cart and login, are never kept in the CDN, whatever the setting.

## Related guides

- [Clear the CDN cache](https://inleed.com/helpcenter/clear-cdn-cache)
- [Turn off the cache with development mode](https://inleed.com/helpcenter/cdn-development-mode)
- [My website is slow](https://inleed.com/helpcenter/website-is-slow)
- [Turn on LiteSpeed Cache for WordPress](https://inleed.com/helpcenter/enable-litespeed-cache)
