Create a Page Cache Partition

Before creating page cache partitions, you should understand the relative execution time of each pipeline, so that you can avoid putting too many pipelines in the same partition. See Using Pipeline Profiler. You should also understand what pieces of the storefront are cached. See Using the Cache Information Tool

All pipelines in a partition have their page caches invalidated together. As with a full page cache invalidation, the cache is gradually invalidated over 15 minutes. A pipeline can only be included in one partition. You can create a maximum of 10 partitions. Each partition can contain up to 10 pipelines.

The page cache for remote includes and iscomponent elements are not automatically invalidated when the page cache for the pipeline that contains the rendering template is invalidated. Therefore, if you want to refresh the content on the Home page by invalidating the Home-Show pipeline and you have remote includes to Content-Show, then you must also explicitly invalidate the Content-Show pipeline.

Pipelines are only allowed in one partition, but you might want to refresh different page types, such as the home page and product detail page. Therefore, Salesforce recommends that you place pipelines used in remote includes in a separate partition. Then, invalidate the main pipelines of the page in one partition and the content or other remote includes in the other.

  1. Select Administration > Sites > Manage Sites > site > Cache.
  2. Click the Cache tab.
  3. Click Add Partition.
  4. In the Configure Page Cache Partition window, enter the following:
    Option Description
    ID Enter a unique, meaningful ID for the partition. It can only contain characters allowed in URLs.
    Name Enter a name that describes the type of pipelines you are including in your partition. For example: slot configurations and slot content.
    Add /Remove Pipeline Pipeline names can be for the current site or for remote includes. A pipeline can only appear in one partition. Modifying an existing partition by removing a pipeline sets the page cache clear time to the partition clear time, which can lead to the invalidation of cached content.
  5. Select Add Pipeline and enter the name of the pipeline to add to the partition.

    Use the Pipeline-StartNode name, for example: Home-Show.

    Pipeline names can be for the current site or for remote includes. A pipeline can only appear in one partition. Modifying an existing partition by removing a pipeline sets the page cache clear time to the partition clear time, which can invalidate cached content.

    If your storefront is based on SiteGenesis, you should import the partition definitions included with SiteGenesis.
  6. Click Save.

See also Quick Fixes or Emergency Edits of Production Content and Invalidating a Page Cache Partition.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. By continuing to use this site you are giving us your consent to do this.