---
title: "Purge by Prefix"
slug: "purge-by-prefix"
updated: 2025-03-03T11:29:19Z
published: 2025-03-03T11:29:19Z
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qwilt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Purge by Prefix

Use Purge by Prefix to apply the purge action to all the files in a particular path, identified by prefix.

To purge content identified by prefix:

1. On the **Purge** tab, select **Purge Content**.
2. From the **Operation** field, select **Update** or **Purge**.
  - Purge removes specified content from the cache.
  - Update invalidates specified content on the cache.
3. In the **Type** field, select **Prefix**. Note that Purge by Prefix is applied to all the site hosts.
4. In the Path field, enter the path to the directory that contains the content you want to purge or update.

For example: */blog/2023/08/*

You can enter multiple paths, separated by commas.

For example: */products/sales/images/,/dynamic/news/latest/,/docs/en/v2/*

The purge job may include up to 1000 paths.

![purgePrefixNew.png](https://cdn.document360.io/fa039225-513b-46a1-ba78-a57a1f1cb7c6/Images/Documentation/purgePrefixNew.png)
5. Press **Enter** to add the prefixes to the Preview List.
6. Select **Submit**.
  - Purge removes content from the CDN cache, while Update invalidates the content.
  - The purge job appears in the Purge History list, along with the status:
    - **In Progress** - The purge job is in progress.
    - **Success** - The purge job is successfully completed throughout the CDN.
    - **Failed** - The purge job was not successfully completed throughout the CDN.
    - **Unknown** - Indicates an internal error.

---

[View the Purge History](/v1/docs/view-purge-history)
