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.
Before creating page cache partitions, understand the relative execution time of each
pipeline, so that you can avoid putting too many pipelines in the same partition. Also, be
aware of what pieces of the storefront are cached.
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.
-
Select .
-
Click the Cache tab.
-
Click Add Partition.
-
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. |
-
Select Add Pipeline and enter the name of the pipeline that you
want 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.
-
Click Save.