Cert++
Close

Disabling page caching on a new sandbox development site

Key Takeaway

To see development changes immediately on a new sandbox site, open the site's Cache tab in Business Manager. Set "Instance Type" to Sandbox/Development, enter 0 for the time to live (TTL) of static content, and deselect "Enable page caching".

B2C Commerce caches storefront pages and static files so shoppers get fast responses. On a development site, the cache hides your latest changes until it expires. So right after you create a new site on a sandbox, you turn off page caching on the site's Cache tab in Business Manager, and every change then shows up immediately.

What B2C Commerce caches

B2C Commerce has two caches. You configure both of them per site. The static content cache holds images, icons and CSS style sheets. The page cache holds HTML pages generated from ISML templates that use <iscache>.

One TTL value controls both caches, because the TTL for page data is the same as the TTL for static content on the site. So entering 0 for the TTL stops caching of static files and also affects the page cache. The default TTL is 30 days (2,592,000 seconds).

B2C Commerce Developer Study Guide

Checklist progress

0/237Learned

Given a sandbox environment, use the Business Manager to add a new site to the instance, configuring the default currency and taxation type according to business requirements

0/4

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other B2C Commerce Developer studiers. 796 members and growing.