close

Filter

loading table of contents...

Release Notes / Version 10.2107

Table Of Contents

CoreMedia Connector for Salesforce Commerce Cloud

Page Cache TTL for Fragments

With Cartridge version 3.2.29 two new custom site preferences have been introduced:

  • Page Cache TTL Default (The default time in seconds when a CMS fragment expires in Salesforce Page Cache)

  • Page Cache TTL in case of CMS Fragment errors (The time in seconds that a page expires if an error is occurred during fragment loading)

The default is off so that the behavior is like before. But when the values are set >=1 the FragmentConnector will set Response.setExpires(...) accordingly so that SFCC page cache is invalidated after the specifiied TTL. This can be distinguished for successful and failed fragments so that you can e.g. specifiy a lower page cache TTL in case of fragment errors, so that these errors are not cached for too long. Please note that you have to import the updated system-objecttype-extensions.xml as well as the cartridge code.

(CMS-16565)

Search Results

Table Of Contents