Configure CDN Caching

This topic applies to

Applies to

SuiteCommerce | SuiteCommerce Advanced

 

To configure the CDN cache, you must have already enabled the CDN cache. For more information, see Enable CDN Caching.

To configure CDN caching:

  1. Go to Setup > SuiteCommerce Advanced > Configuration.

  2. Select the Website and Domain.

  3. Click Continue.

  4. Click the Advanced tab.

  5. Click the Cache subtab.

  6. Set the Content Page CDN cache duration for content pages.

  7. Click Save.

This topic applies to

Applies to

SuiteCommerce Advanced

To configure CDN caching (SCA Denali and Mont Blanc):

These steps apply to Denali and Mont Blanc implementations of SuiteCommerce Advanced only.

  1. Modify the SSP application.

  2. Add the setCDNCacheable call within your SSP application and service files. For more information on using the setCDNCacheable method, see the help topic setCDNCacheable(type).

    <% response.setCDNCacheable(response.CACHE_DURATION_MEDIUM) %>

    Important

    The Reference Shopping implementation has the setCDNCacheable call within the index.ssp file by default. After the domains are set up correctly as described above, CDN caching is enabled for Reference Shopping. When Reference Shopping is customized using external SSP applications, you can also set caching for content returned from those custom services.


After you enable and configure CDN caching, you can clear the cache by triggering a cache invalidation request. For more information, see Cache Invalidation.