Page Type and Component Type Caching

How long page types and component types are cached in memory depends on whether the environment is sandbox, development, staging, or production. To refresh the page types and component types on a production environment, or to refresh them immediately on other environments, a code version switch must occur. When you develop new page types and component types, or modify existing ones, and then replicate them to a production environment, a best practice is to issue an event for a code version switch so that the page types and component types are immediately refreshed.

Table 1. Cache Times for Page Types and Component Types
Environment Cache Refresh Interval
Sandbox 5 seconds or on code version switch
Development 5seconds or on code version switch
Staging 5 seconds or on code version switch
Production On code version switch