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:
-
On the Purge tab, select Purge Content.
-
From the Operation field, select Update or Purge.
- Purge removes specified content from the cache.
- Update invalidates specified content on the cache.
-
In the Type field, select Prefix.
Note that Purge by Prefix is applied to all the site hosts. -
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.
-
Press Enter to add the prefixes to the Preview List.
-
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.
-