Items Cached for Performance Optimization in NetSuite

Items cached by CDN include images and API responses, enhancing performance and speed in NetSuite.

·2 min read·View Oracle Docs

The Items Cached feature is integral to optimizing the performance of your NetSuite environment. By leveraging caching mechanisms, the platform ensures quicker access and reduced load times for various item types.

What Items Are Cached?

The following items are cached by the Content Delivery Network (CDN):

  • Image Files: All image files located in the file cabinet are cached. Supported file types include .gif, .jpg, .bmp, and .png. Additionally, static file system images referred to in default site templates are also cached.

  • Item Search API Responses: When making requests to the Item Search API, the response output, which typically includes a list of items, is cached. This significantly enhances the speed of retrieving item data for subsequent requests.

  • SuiteScript Responses: If SuiteScript is executed outside the file cabinet and sets appropriate response headers indicating that the content can be cached, the CDN caches these responses. This is particularly relevant for SuiteScript associated with SuiteCloud applications (SSP).

  • SSP Files: Files that belong to the SuiteCloud ecosystem are included in the caching mechanism as well.

Note: It is important to remember that files stored in the file cabinet as downloadable items are not cached by the CDN. This means any downloadable resources may incur longer load times due to their lack of caching in the CDN.

Utilizing these caching features is crucial for developers and administrators looking to improve response times and overall application performance in NetSuite deployments.

Frequently Asked Questions (4)

Does caching apply to all image file types in NetSuite?
Yes, the caching applies to all image file types located in the file cabinet, including .gif, .jpg, .bmp, and .png. These are cached by the CDN to improve load times.
What files are excluded from CDN caching in NetSuite?
Files stored in the file cabinet as downloadable items are not cached by the CDN, which may result in longer load times for these resources.
Are SuiteScript responses always cached in NetSuite?
SuiteScript responses are cached only if they are executed outside the file cabinet and set the appropriate response headers indicating that caching is allowed.
How does caching impact Item Search API performance in NetSuite?
Caching enhances the performance of the Item Search API by storing response outputs. This allows for faster retrieval of item data in subsequent requests, reducing load times.
Source: Items Cached 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 Performance

View all Performance articles →