Bypass CDN Cache

This topic applies to

Applies to

SuiteCommerce | SuiteCommerce Advanced

 

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:

  1. A domain that has CDN caching enabled (for example, your main website domain)

  2. A domain you use for testing that does not use a CDN cache

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 Setup > SuiteCommerce Advanced > Domain.

  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 as 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 navigate 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 Set Up a CNAME Record.

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