CDN Caching Configuration in NetSuite

Configure CDN caching to enhance website performance in NetSuite. Learn the steps to set it up effectively.

·2 min read·View Oracle Docs

To configure CDN caching in NetSuite, you must first enable it. This feature is critical for improving website performance by ensuring that cached resources are served efficiently.

Steps to Configure CDN Caching

  1. Modify the SSP Application: Start by accessing your SiteScript (SSP) application.

  2. Add the setCDNCacheable Call: Implement the setCDNCacheable method in your SSP service files. This method allows you to define caching strategies for your application.

    Here’s an example of how to use it:

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

    Note: The Shopping Application includes the setCDNCacheable function in the index.ssp file by default. Once your domains are correctly configured, CDN caching will automatically activate for the Shopping Application. If you customize this application with additional SSP services, you can also manage caching for your custom content.

  3. Clear the Cache: After enabling and configuring CDN caching, you may need to clear the cache at times. This can be done by sending a cache invalidation request. Refer to the Cache Invalidation documentation for more details.

Important Considerations

  • Third-Party CDN Services: Avoid using third-party CDN and caching services, as they may cause operational issues within your NetSuite environment.
  • Enabling CDN Caching: Starting September 2025, having CDN caching enabled will be mandatory for all websites linked with NetSuite production accounts. It is advisable to enable CDN caching well in advance to prevent any performance setbacks on your site.

Who This Affects

  • Developers: Those modifying or creating applications within NetSuite will need to understand CDN caching to optimize performance.
  • Web Administrators: Users overseeing website performance and functionality will benefit from setting up and managing CDN caching effectively.

Key Takeaways

  • Configure CDN caching to enhance web performance in NetSuite.
  • Implement setCDNCacheable in your SSP applications for optimized content delivery.
  • Ensure cache invalidation processes are in place as needed.

Source: This article is based on Oracle's official NetSuite documentation.

Frequently Asked Questions (4)

Do I need to modify the SSP Application to configure CDN caching in NetSuite?
Yes, you need to start by accessing and modifying your SSP Application to implement the setCDNCacheable method, which will define the caching strategies for your application.
Is it necessary to manually clear the cache after configuring CDN caching?
Yes, you may need to clear the cache by sending a cache invalidation request. Refer to the Cache Invalidation documentation for more details on how to perform this.
Can I use third-party CDN and caching services with NetSuite?
No, it is advised to avoid using third-party CDN and caching services as they can cause operational issues within your NetSuite environment.
Will CDN caching become mandatory for all NetSuite websites?
Yes, starting September 2025, enabling CDN caching will be mandatory for all websites associated with NetSuite production accounts. It is recommended to enable it well in advance.
Source: Configure CDN Caching Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Commerce

View all Commerce articles →