---
schema_version: "1"
id: 16759d74ea7373340502a2dd954d85db8bdb47c360444eba83ed7df2746e595e
title: Automatically Cache Non-Customized Pages for Better Performance
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/b2c_rn_25_10_page_designer_serialization_caching.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.b2c_rn_25_10_page_designer_serialization_caching.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 952a05f6e0cc7f5f3a450ab734bad67017548412a0cf4b642a3a107165c22c11
description: Page Designer now automatically caches pages that don't use custom serialization logic, improving runtime performance. When a page doesn't have a custom serialize() function, the system caches its content for a configurable period.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Automatically Cache Non-Customized Pages for Better Performance

Page Designer now automatically caches pages that don't use custom serialization logic, improving runtime performance. When a page doesn't have a custom serialize() function, the system caches its content for a configurable period.

Pages without a custom `serialize()` function are automatically cached for the configured TTL duration. Pages with custom serialization logic are not cached.

The following controllers control this automatic caching behavior:

- `__SYSTEM__Page-Serialize`
- `__SYSTEM__ShoperExperience-SerializePageV1`

When these controllers complete the serialization process, they invoke `ContextJsonSerializationEngine.runSerializeScript(...)` for the page and its components. If no custom `serialize()` function is called during this process, the controllers automatically save the response to the page cache for the configured TTL duration.

**Where:** This feature applies to B2C Commerce.

**How:** In Business Manager, click App Launcher, and then select **Administration** | **Sites** | **Manage Sites** | **Site** | **Cache**. Select **Enable Page Caching** and specify a **Time to Live (TTL) of Page Designer Serialization** setting. The default setting is 24 hours (86,400 seconds), but you can change this value.

#### See Also

- [Page Designer Caching](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/b2c-dev-for-page-designer.html#page-designer-caching)