---
schema_version: "1"
id: b52b6587bdfea3637e4bac1833e1e4d1efdcf53620359b019ecc771ec2894b82
title: Cache Settings Object Import and Export in B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_cache_settings_import_export.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_cache_settings_import_export.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 184a3b30b0e06d8131fdd60725ecc29b6cae53e189772f18d67e03e7a36e5f64
description: Use the cache settings object to manage static cache time to live, cache enablement, and page cache partitions.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Cache Settings Object Import and Export in B2C Commerce

Use the cache settings object to manage static cache time to live, cache enablement, and page cache partitions.

Cache settings are often replicated instead of imported, because a full page cache invalidation is required before they take effect. The cache settings import always uses a replace semantic. The replace semantic deletes any partition definitions not included in the import.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note After import, the cache for all partitions is invalidated.

 
| Object Information | Details |
| --- | --- |
| Schema file | cache-settings.xsd |
| Granularity | Page cache partition configurations, static cache time to live value per instance, and whether the page cache is enabled per instance. |
| Business Manager import and export location | **site** | **Administration** | **Site Development** | **Site Import & Export** |
| Pipelets | N/A |

This table describes cache-settings.xsd schema elements, and provides considerations when creating values for these elements.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:18.552875695732837%">
        <col style="width:28.200371057513912%">
        <col style="width:53.246753246753244%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d39827e124">Element</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d39827e127">Description</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d39827e130">Example</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Element" class="slds-cell-wrap" style="vertical-align:top;" headers="d39827e124 ">Settings</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d39827e127 ">Sets static cache time to live and page cache enablement
            flags.</td>

          <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d39827e130 ">
            <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code class="language-markup">    &lt;settings&gt;
        &lt;development&gt;
            &lt;static-cache-ttl&gt;86400&lt;/static-cache-ttl&gt;
            &lt;page-cache-enabled&gt;true&lt;/page-cache-enabled&gt;
        &lt;/development&gt;
        &lt;staging&gt;
            &lt;static-cache-ttl&gt;0&lt;/static-cache-ttl&gt;
            &lt;page-cache-enabled&gt;false&lt;/page-cache-enabled&gt;
        &lt;/staging&gt;
        &lt;production&gt;
            &lt;static-cache-ttl&gt;86400&lt;/static-cache-ttl&gt;
            &lt;page-cache-enabled&gt;true&lt;/page-cache-enabled&gt;
        &lt;/production&gt;
    &lt;/settings&gt;</code></pre>
          </td>

        </tr>
        <tr class="">
          <td data-label="Element" class="slds-cell-wrap" style="vertical-align:top;" headers="d39827e124 ">Page-Cache-Partitions</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d39827e127 ">
            <p>Specifies the configuration of page cache partitions. </p>
            <div class="slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium">
              <div class="slds-media slds-media_responsive">
                <div class="slds-media__figure"><span class="slds-icon_container slds-icon_container_circle slds-icon-note-note"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png" alt="Note"></span></div>
                <div class="slds-media__body" style="padding-top:.5rem;padding-bottom:.5rem;"><span class="slds-text-title_caps">Note</span> You can
                  specify a maximum of 10 pipelines.</div>
              </div>
            </div>
          </td>

          <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d39827e130 ">
            <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code class="language-markup">    &lt;page-cache-partitions&gt;
        &lt;page-cache-partition partition-id="partition0"&gt;
            &lt;name&gt;partition0&lt;/name&gt;
            &lt;pipelines&gt;
                &lt;pipeline&gt;Account-Show&lt;/pipeline&gt;
                &lt;pipeline&gt;TestPipeline-Start&lt;/pipeline&gt;
                &lt;pipeline&gt;Pipeline3-Start&lt;/pipeline&gt;
                &lt;pipeline&gt;Pipeline4-Start&lt;/pipeline&gt;
                &lt;pipeline&gt;Pipeline5-Start&lt;/pipeline&gt;
                &lt;pipeline&gt;Pipeline6-Start&lt;/pipeline&gt;
                &lt;pipeline&gt;Pipeline7-Start&lt;/pipeline&gt;
                &lt;pipeline&gt;Pipeline8-Start&lt;/pipeline&gt;
                &lt;pipeline&gt;Pipeline9-Start&lt;/pipeline&gt;
                &lt;pipeline&gt;Pipeline10-Start&lt;/pipeline&gt;
            &lt;/pipelines&gt;
        &lt;/page-cache-partition&gt;
    &lt;/page-cache-partitions&gt;</code></pre>
          </td>

        </tr>
      </tbody>
    </table>