Contact
Site: US UK AU |

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.

Table of contents

Requirements

  • An active CDN service with Nexcess. To order a CDN service plan, visit the the Nexcess website.

  • Your Client Portal username and password. These were originally provided in the Nexcess Welcome Email, though you may have since changed them. If you cannot locate this information, click Forgot Password? link on the Client Portal login page or contact the Nexcess Support Team.

Before proceeding

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.

This article provides two sets of instructions: how to purge all assets at once, and how to manually purge specific assets.

Procedures

This section explains how to purge all assets and how purge specific assets.

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 (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.