Configure CDN Caching

This topic applies to

Applies to

SuiteCommerce Web Stores

 

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. Set the Content Page TTL.

    This is the Time To Live (TTL) cache for content pages, specified in seconds. Value must be between 300 (5 minutes) and 7200 (2 hours).

  8. Click Save.

This topic applies to

Applies to

Vinson

To configure CDN caching (pre-Vinson):

These steps apply to pre-Vinson 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.