CDN Caching Guidelines for Public and Private Content

Understand CDN caching mechanisms for public and private content to ensure data security in NetSuite.

·2 min read·View Oracle Docs

CDN caching involves storing copies of information on third-party servers for a specific duration. The nature of content determines whether it can be cached, especially concerning security risks.

Content categorized as public is safe to cache, whereas anything requiring confidentiality should be classified as private. It is crucial to avoid caching private information, which includes sensitive data like shipping addresses, billing addresses, and credit card numbers.

NetSuite organizes content into private folders and public folders, and it relies on specific file extensions to assess caching eligibility on CDN servers. Here’s a brief overview of how this system operates:

Content Caching Guidelines

Path (folder) or extensionCached on CDN
/private/Never cached
/public/Might be cached depending on header settings (default TTL 24 hours, max 7 days)
.jpg, .png, .js, .gif, .css, .html, .ico, .woff, .shtml, .txt, .pjpeg, .ttf, .woff2, .json, .jpeg, .eot, .pdf, .xml, .otf, .cur, .htm, .tpl, .swfMight be cached based on header settings (default TTL 24 hours, max 7 days)
All other file extensionsNever cached, considered private

Important Security Note

Be vigilant not to store sensitive information in public folders, as this content may be cached on third-party servers, leading to potential data breaches. Following these guidelines is essential for maintaining the security and integrity of your customers’ information.

Frequently Asked Questions (4)

Can private folders in NetSuite ever be cached on a CDN?
No, private folders in NetSuite are never cached on a CDN to protect sensitive information.
How do file extensions affect CDN caching in NetSuite?
Certain file extensions like .jpg, .png, and .css might be cached on a CDN depending on header settings, with a default TTL of 24 hours and a maximum of 7 days.
Is it safe to store shipping addresses in NetSuite's public folders?
No, it's not safe to store shipping addresses in public folders as they could be cached and lead to data breaches.
What is the caching duration for files in public folders by default?
Files in public folders might be cached with a default TTL of 24 hours and a maximum of 7 days based on header settings.
Source: CDN Caching for Private versus Public Content Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?