---
schema_version: "1"
id: 83bad55df1a95ca3622db8e5d87c3b0477a71f9f88a3b2a94c690952300a2204
title: Purge the eCDN Cache
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_purge_ecdn_cache.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_purge_ecdn_cache.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 13660b325fd76e0204048c7f19e88b42c7b30d4aa3c66335ef90e3191b444fe8
description: Selectively invalidate content in the B2C Commerce eCDN cache by cache tag or path directly from Business Manager.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Purge the eCDN Cache

Selectively invalidate content in the B2C Commerce eCDN cache by cache tag or path directly from Business Manager.

For storefront and Default Domain zones, content is available to purge after it's cacheable, which requires a cache rule and correct origin headers. See [Create an eCDN Cache Rule](https://help.salesforce.com/s/articleView?id=cc.b2c_create_ecdn_cache_rule.htm&release=264.0.0&type=5 "Create a cache rule to make HTML pages and JSON responses eligible for caching at the eCDN edge for your B2C Commerce storefront. By default, eCDN caches only static content based on file extension.").

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note Cache purge by tag or path is available on SCAPI zones from the Production instance. Cache rules aren't available on SCAPI zones. SCAPI sets cache tags automatically. See [SCAPI Zone Support for B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_scapi_zone.htm&release=264.0.0&type=5 "A SCAPI zone is the Salesforce-managed eCDN zone that fronts Salesforce Commerce API (SCAPI) traffic. Starting with B2C Commerce 26.10, the Production instance includes a subset of eCDN security controls and analytics for this zone in Business Manager and the CDN API, with no support case required.") and [eCDN Cache Rules and Cache Purge](https://help.salesforce.com/s/articleView?id=cc.b2c_ecdn_cache_rules_and_purge_overview.htm&release=264.0.0&type=5 "Cache rules control which content is eligible for caching at the eCDN edge, and cache purge selectively invalidates cached content by tag or path. Both capabilities are available in Business Manager for your B2C Commerce storefront.").

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_important.png)

Important Deleting a cache rule doesn't purge already-cached content. To remove cached content immediately, run a purge separately.

A purge affects only content currently at the edge. Subsequent requests repopulate the cache according to your rules and origin headers.

1. In Business Manager, click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Administration** | **Sites** | **Embedded CDN Settings**.
2. Locate the zone that you want to configure, and then select **Configure Zone** from the dropdown menu.
3. Click **Purge Cache**.
    
    ![Configure Zones Cache Rules tab with the Purge Cache button next to the zone selector](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/b2c_ecdn_configure_zone_purge_cache.png)
4. Select the purge method.
    
    - To invalidate specific URLs, select **By path**, and then enter one or more paths.
    - To invalidate all content stamped with specific cache tags, select **By tag**, and then enter one or more cache tags.
    
    To prevent accidental large-scale or platform-breaking purges, B2C Commerce blocks these purge targets and returns an error message.
    
    - `/*`: Purges the entire site.
    - `/cdn-cgi/*`: Cloudflare-managed paths.
    - `/on/demandware.static/-/Sites-*`: Platform static content.
5. Confirm the purge.
    
    eCDN removes the matching content from the edge cache.

![Purge the B2C Commerce eCDN Cache by Tag and by Path](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_example.png)

Purge the B2C Commerce eCDN Cache by Tag and by Path

Tag-based purge relies on the origin stamping responses with a `Cache-Tag` header. For example: `Cache-Tag: product-12345, category-shoes`. Then purge all content that carries a given tag in a single request. This approach is useful for invalidating every page related to a product or category at once.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note For SCAPI zones, tags are assigned automatically. You don't set them.

Path-based purge invalidates specific URLs, which is useful when you know exactly which pages changed.