Content Page CDN and Content Page TTL (Time to Live) fields in SuiteCommerce Configuration record

Using a Content Delivery Network (CDN) can significantly boost your website’s performance by caching data and site assets, ensuring faster page load times. Here’s a brief overview of how CDN caching works in SuiteCommerce:

  • Items Cached: The CDN caches images (.gif, .jpg, .png, etc.), API responses (like Item Search API), and SuiteScripts hosted in the file cabinet. However, download items stored in the file cabinet are not cached.
  • Caching Times:
  • Static Content: Images, CSS – cached for 7 days.
  • Scripts: Cached for 2 hours.
  • Content Delivery: For example, page.ss files – cached for 5 minutes.
  • Cache Invalidation: You can clear the CDN cache using the Cache Invalidation Request form. For browsers, the cache expires every 2 hours for static content.
  • Domain Types: CDN caching can be used with SuiteCommerce or SuiteCommerce Advanced web store domains but is not available for SiteBuilder websites.
  • Limiting Cache: Tools like the Cache Invalidation Request form allow you to see website changes in real time, ensuring you view updated content.

The ‘Content Page TTL’ field in a SuiteCommerce Configuration record specifies the duration of the application Time to Live (TTL).

How Time-To-Live (TTL) Work:

The number of hops a packet travel before being discarded by a network is known as the time to live (TTL) or hop limit. The maximum range for packets is indicated by TTL values.

  • The sending host sets the initial TTL value as an eight-binary digit field in the packet header. 
  • The datagram’s TTL field is set by the sender and reduced by each router along the path to its destination. 
  • The router reduces the TTL value by at least one while forwarding IP packets. 
  • When the packet TTL value hits 0, the router discards it and sends an ICMP message back to the originating host.
  • This system ensures that a packet moving via the network is dropped after a set amount of time, rather than looping indefinitely.

What is Time-To-Live (TTL) exceeded?

IP packets delivering web HTTP traffic over TCP (Transmission Control Protocol) that have traveled too many network hops are referred to as TTL exceeded. When this situation arises then each router Each router reduces the TTL field of IP packets sent over the network until it reaches 0. The router then drops the IP packet and sends an ICMP packet with a TTL exceeded error code to the sending host.

Leave a comment

Your email address will not be published. Required fields are marked *