Bypass CDN Cache

This topic applies to

Applies to

Commerce Web Stores


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 points to the CDN caching server (your main website domain)

  2. A domain you use for testing that bypasses the 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 for your main website domain. For more information, see Configure CDN Caching.

  2. Go 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 CDN box as this test domain is intended to bypass 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 subdomain. 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. If you continue to see cached content on the domain pointing at the CDN server, use the domain pointed at NetSuite shopping servers to view updated content.