CDN Caching Configuration in NetSuite
Configure CDN caching to enhance website performance in NetSuite. Learn the steps to set it up effectively.
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
-
Modify the SSP Application: Start by accessing your SiteScript (SSP) application.
-
Add the setCDNCacheable Call: Implement the
setCDNCacheablemethod 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
setCDNCacheablefunction in theindex.sspfile 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. -
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
setCDNCacheablein 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?
Is it necessary to manually clear the cache after configuring CDN caching?
Can I use third-party CDN and caching services with NetSuite?
Will CDN caching become mandatory for all NetSuite websites?
Was this article helpful?
More in Commerce
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
- Commerce Extensions in NetSuite 2026.1
Commerce Extensions in NetSuite 2026.1 enhance performance and user experience in eCommerce.
- Convert Multiple Transaction Line Items into Configured Items in
Enhance transaction processing in NetSuite by converting multiple line items into configured items with improved session handling.
- New SuiteCommerce Features in NetSuite 2026.1
New SuiteCommerce features in NetSuite 2026.1 enhance user experience and improve eCommerce efficiency.
