Skip to content


Peakhour's Content Delivery Network (CDN) is designed to intelligently cache resources, distributed around the globe. The CDN cache is an essential component of a fast-loading website as it reduces the load on the origin server and provides faster content delivery to end-users.

However, there may be times when you need to update or change the content that is cached by the CDN. That's why Peakhour provides an easy-to-use interface to manage the cache and perform a cache purge.

Why Purge the Cache?#

Cache purging is necessary when you want to update the content on your website, or when you want to remove outdated content from the cache. Some common reasons for purging the cache include:

  1. Updating images or other resources
  2. Updating page content
  3. Removing outdated content

When to Purge the Cache#

The best time to purge the cache is when you have made updates to your website and you want the updated content to be immediately available to your users. It is also recommended to regularly review and remove any outdated content from the cache.

Soft and Hard purges#

A soft purge and a hard purge are two methods used to refresh the cache in a Content Delivery Network (CDN).

A soft purge is a method of cache refresh where Peakhour system will revalidate the resource with the origin server without removing the resource from the cache. This process will check the validity of the cached content and ensure that the most recent version is being served to the end-users. This method can be beneficial when there are large amounts of content that need to be refreshed in the cache, as it saves the cost of re-transforming the content.

On the other hand, a hard purge is a method of cache refresh where Peakhour completely removes the resource from the cache and fetches a new version of the resource from the origin server. This method is more aggressive in ensuring that the end-users receive the most recent version of the content. However, it can result in a slower loading time for the first end-user to request the content after the cache has been purged.

How to Purge the Cache using Peakhour's CDN Purge Page#

Peakhour provides a simple interface to manage the cache and perform a cache purge. You can access the cache purge page from the main navigation of your domain dashboard.

Full Site Purge#

The full site purge option allows you to remove all cached content on Peakhour's CDN. This will cause Peakhour to re-cache the newly fetched content, ensuring that the latest version of your website is available to your users.

Single Resource Purge#

If you only need to purge a single resource, you can do so by specifying the full URL of the resource. Wildcard purges are not supported.

Cache Tag Purge#

Peakhour also provides the ability to purge multiple resources by cache tag using our API. This option is useful for larger cache purges, or when you want to remove specific groups of resources from the cache.

Peakhour's CDN purge provides a simple and effective way to manage your cache and ensure that your website's content is always up-to-date. With our near-instant cache purging system, you can be confident that your users will have access to the latest version of your website, no matter where they are in the world.