CDN Caching Times and Content Update Impact
CDN caching times affect how quickly returning customers see updated content, with varying durations for static content, scripts, and page delivery.
Caching within a Content Delivery Network (CDN) is crucial for how quickly returning customers can view updated content on your site. CDN caching times vary by content type and significantly influence user experience.
What Are CDN Caching Times?
CDN caching times determine how long different types of content remain accessible from the cache before they are refreshed. Below is a breakdown of common content types and their respective caching durations:
| Type of Content | Example | How Long is it Cached? |
|---|---|---|
| Static Content | Images, CSS | 7 days |
| Scripts | Non-session scripts | 2 hours |
| Content Delivery | page.ss | 5 minutes |
Cache Invalidation and Browser Cache Behavior
You can utilize the Cache Invalidation Request form to clear the CDN cache. However, it is important to realize that this action does not affect the browser cache. Here’s how it works:
- When you invalidate a URL, new users immediately see the updated content.
- Users reloading the page with a hard refresh (Ctrl + F5) will also see the latest content.
- Returning visitors, however, will continue to see the old content stored in their browser cache until it expires.
Automatic Expiration of Browser Cache
If the CDN is enabled, the static content in the browser cache automatically expires every two hours. This means that if visitors return after this duration, they are required to fetch fresh data from the CDN cache. If the static data has been updated in that time frame, users will receive the latest version once they request it from the CDN.
Understanding CDN caching and its implications is essential for providing a smooth experience for users, especially returning customers. Proper management of these caching rules can ensure your content delivery is efficient and up-to-date.
Frequently Asked Questions (4)
How does CDN caching affect static content like images and CSS in NetSuite?
How can I force the CDN to deliver updated content immediately in NetSuite?
What is the difference between CDN cache and browser cache expiration in NetSuite?
Does browser cache expiration impact users who have seen prior versions of the content?
Was this article helpful?
More in Commerce
- SuiteCommerce CAPTCHA Configuration Options and Setup
Configure SuiteCommerce CAPTCHA for enhanced security. Enable CAPTCHA for registration, login, guest checkout, and orders.
- Single Sign-On Integration for NetSuite Web Stores
Implement inbound single sign-on integration for NetSuite web stores using SAML or OpenID Connect for seamless access.
- Facets Management for Commerce in NetSuite
Facets management in NetSuite Commerce optimizes item search filters, enhancing performance and improving user experience.
- SuiteCommerce Analytics Data and Cookie Consent Integration
SuiteCommerce Analytics Data enables tracking of shopper behavior. This requires a cookie consent extension for user preferences.
Advertising
Reach Commerce Professionals
Put your product in front of NetSuite experts who work with Commerce every day.
Sponsor This Category