How to purge the CDN cache

How to purge the CDN cache

Overview
This article explains how Nexcess clients can purge their CDN cache in order to delete the cached version of the asset from all Edge servers on the CDN.

Contents

What you need

Things to know

Asset-purging applies only to CDN assets such as image, videos, JavaScript, or CSS files.

Purging a CDN asset deletes the cached version of the asset from all Edge servers on the CDN. For example, if you have updated an image, or have made changes to your CSS file. Purging a CDN asset prevents an old version of an asset from being delivered to your clients.

Purging all assets

The quickest way to purge all assets on the CDN is to do so from the Client Portal.

 ATTENTION: This method purges all assets from your CDN and should not be used unless you fully understand the effects of doing so. If you want to purge a specific asset, proceed to the “Purging specific assets” section. 

  1. Log in to the Client Portal. From the dashboard, click Services > Other.


  2. Locate the relevant CDN service. From the menu toggle, followed by Purge Cache.


  3. Click Confirm.  It may take up to one hour to fully purge the CDN cache on all Edge servers.

Purging specific assets

  1. Log in to the Client Portal. From the dashboard, click Services > Other.


  2. Locate the relevant CD, click the corresponding menu toggle, then click CDN Control Panel.


  3. If prompted, select your preferred language. From the Platform drop-down list, select either HTTP Small or HTTP Large, as it pertains to the CDN asset to be purged. From the URL list, select the desired URL to be purged.

  4. In the field directly below the URL list, enter the path to the folder containing the asset to be purged and include a “/” at the beginning of the path. Refer to the table below for correct syntax and format. Click Purge Content when ready.

    Purge

    Procedure

    Sample syntax

    Asset

    Append the name of the asset to be purged to the relative path specified in Step 7.

    /media/images/cool_red_bag.jpg

    Set of assets

    Use an asterisk (*) as the wild card to purge a set of assets. Append that pattern to the relative path specified in Step 7.

    /media/images/cool_red*.jpg

    Folder

    Append an asterisk, period, and asterisk (*.*) to the relative path specified in Step 7.

    /media/images/*.*/

    Folder (recursively)

    Append an asterisk (*) to the relative path specified in Step 7.

    /media/*

  5. Allow up to 1 hour for the CDN provider to process the request. 

For 24-hour assistance any day of the year, contact our Support Team by email or through the Client Portal. 

Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How to cancel a SSL certificate
Added on Wed, Oct 17, 2018
How to view your Account ID and PIN
Added on Thu, Jan 24, 2019
How to view shared secure data in your Client Portal
Added on Wed, Dec 5, 2018
How to use two-factor authentication in the Client Portal
Added on Wed, May 30, 2018
How to configure a CDN customer origin server
Added on Tue, May 22, 2018
How to enable your CDN SSL service
Added on Thu, May 10, 2018
How to disable your CDN SSL service
Added on Fri, Dec 21, 2018
How to create and edit DNS zones in the Client Portal
Added on Mon, May 7, 2018
How to activate CDN compression
Added on Wed, May 23, 2018
How to import SSL certificates in your Client Portal
Added on Thu, Sep 13, 2018