Bypass CDN Cache

During website development, you can bypass the CDN to view updated content on your site. To do this, you can set up two domains for your web store:

You can visit each domain to verify that changes on your site appear as expected.

To set up a test domain for bypassing CDN cache:

  1. Set up CDN caching for your main website domain. For more information, see Configure CDN Caching.

  2. Go to Commerce > Hosting > Domains.

  3. Set up a new Domain. Enter a domain name that you can use for testing.

  4. Do not check the Use CDN Cache box because this test domain is intended to bypass caching on the CDN server.

  5. Do not select a Primary Web Site URL for either domain. This enables you to go directly to a website URL without redirecting to the “primary domain.”

  6. Select the appropriate HTML Hosting Root and Touch Point for the subdomain.

  7. Click Save.

  8. Visit your domain provider's website to complete the task of setting up a CNAME record for your domain. For more information, see Point Your Domain Name at Your Domain (DNS Settings).

After you set up a domain that bypasses CDN cache, go to that domain for testing your site during web development.

Related Topics

Enable CDN Caching
CDN Caching
CDN Caching for Secure Domains
Cache Invalidation

General Notices