CDN Caching for Secure Domains
You can take advantage of the benefits Content Delivery Networks (CDNs) offer for your secure domains. This topic lists things you should know before using a CDN.
CDN Cache Prerequisites
To enable CDN caches for secure domains, your account must meet the following conditions:
-
Custom Secure Domain – You must provision at least one secure custom domain. Custom domains are sometimes called vanity domains.
-
SSL Certificate upload– You must use automatic certificates or upload your SSL certificate to your domain record. For more information, see Automatic and Manual Certificates.
CDN Caching for Private versus Public Content
Caching stores one or more copies of information about the network for a period of time. Because CDN caching happens on third-party servers, you shouldn't cache content where security is a top concern.
Content that isn't a security risk is considered public, while content that needs to be kept secure is considered private. Content marked as private should never be cached.
NetSuite uses private folders, public folders, and file extensions to decide what gets cached on CDN servers. To protect your shoppers, it's important that you don't keep private information in public folders. Examples of private content include shipping addresses, billing addresses, and credit card information.
Use this table to see how folders and extensions determine which information can be cached by a CDN.
Path (folder) or extension |
Cached on CDN |
*/private/* Private folder names must be lowercase. If a private folder name is all uppercase (PRIVATE), it is treated as a public folder and the contents will be cached. Uppercase folder names do not meet standard caching rules. |
Never cached. |
*/public/* |
Might be cached depending on header settings. If caching length not set, default TTL is 24 hours. Maximum is 7 days. |
*.jpg, *.png, *.js, *.gif, *.css, *.html, *.ico, *.woff, *.shtml, *.txt, *.pjpeg, *.ttf, *.woff2, *.json, *.jpeg, *.eot, *.pdf, *.xml, *.otf, *.cur, *.htm, *tpl, *.swf |
Might be cached depending on header settings. If caching length not set, default TTL is 24 hours. Maximum is 7 days. |
All other file extensions |
Never cached. Considered to be private. |
Don't keep sensitive content in public folders because it might get cached on third–party servers.
CDN IP Address ranges
Instead of giving your site a single IP address, a CDN assigns a range of IP addresses. This range can and will change on a daily basis. NetSuite can't predict or control which addresses the CDN will select. If you use your secure domain for secure document storage, keep in mind that an IP address managed by a CDN can't be added to a safelist.
NetSuite can't predict which IP addresses CDN providers will use.
For more information, see NetSuite IP Addresses.