---
schema_version: "1"
id: 837ae11e5f09163ba7ef10b8b6029ad22878c613734abec5a0f904d174740831
title: Content Slot Processing 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_content_slot_processing.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_content_slot_processing.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3bdee0c2a3278fd185502c01b2199d40c85ae9a1563539f313d240cccd5e7176
description: Salesforce B2C Commerce scans all cartridges that are in the custom cartridge path for available templates.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Content Slot Processing in B2C Commerce

Salesforce B2C Commerce scans all cartridges that are in the custom cartridge path for available templates.

A list of slots appears by context. To view this list, click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **site** | **Merchant Tools** | **Online Marketing** | **Content Slots**.

## Example

In this example, suppose that the home page includes a main slot that contains one item, typically a content asset. Also suppose that each category landing page has a slot at the top containing two items horizontally. Lastly, suppose that there is a folder landing page for content assets grouped by library folder. This is the information a developer needs to create the needed templates:

     
| Page | Slot ID | Context | Context-Object | Description | Rendering |
| --- | --- | --- | --- | --- | --- |
| Home Page | homepage\_banner | Global | N/A | Home page banner | One content asset |
| Category Landing Page | category\_top\_featured | Category | Current Category | Category slot at the top of each category page | 2 products horizontally |
| Folder Landing Page | folder\_landing | Folder | Current Folder | A banner area at the beginning of a folder | Multiple content assets in the library folder |

Based on the previous information, the developer:

- Creates three page templates that define the slots:
    - homepage.isml
    - categoryTop.isml
    - folderLanding.isml
- Creates three rendering templates that render content within the slots:
    - homepage\_705\_356.isml
    - product\_1x2.isml
    - folder\_contents.isml
- Uploads the new files to the Staging system.

In the Business Manager Content Slot module, the following information appears (supposing that two categories, Men's and Women's, are defined for the storefront):

    
| Slot Type | Slot ID | Description | Template | Slot configurations |
| --- | --- | --- | --- | --- |
| Global | homepage\_banner | This is the top left banner on the home page, width 705px by height 356px. | homepage.isml | 0 |
| Category - Men's | category\_top\_featured | Category Slot at the top of each category page. | categoryTop.isml | 0 |
| Category - Women's | category\_top\_featured | Category Slot at the top of each category page. | categoryTop.isml | 0 |
| Folder | folder\_landing | Folder landing page. | folderLanding.isml | 0 |

![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 The Slot ID, Description, and Template information are automatically pulled from the templates uploaded to the staging instance by the developer.

## Caching

For performance reasons, B2C Commerce caches the resulting HTML after the first time it renders a slot. This caching saves the performance penalty of having to calculate the active slot configuration with each request. This caching is transparent to the merchant and slots generally render the expected content at the expected time. However, we describe this mechanism because in certain situations, merchants can unexpectedly see incorrect slot content because of caching.

Rendered slot content caches from 0-59 minutes. In general, results cache for 59 minutes unless the current active slot configuration is due to become inactive or a new slot configuration is due to become active within this time period. The slot engine calculates the length of time that the configurations for a given slot can be cached based on a minimum of all active configuration _deactivation times_ and all upcoming configuration _activation times._

- _Deactivation time_ is the next time that an active slot configuration becomes inactive because it reaches the "valid-from" period of the schedule, or no longer satisfies the time-of-day or day-of-week recurrence. Because there can be multiple active slot configuration for a given slot (each targeting a different customer group), the slot engine uses the minimum of all deactivation times.
- _Activation time_ refers to the next time that an inactive slot configuration becomes active because it reaches the "valid-to" period, or satisfies the time-of-day or day-of-week recurrence.

![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 Content slots containing product recommendations are not cached.

## Related Links

[Working with Slot Configurations](https://help.salesforce.com/s/articleView?id=cc.b2c_working_with_slot_configurations.htm&release=264.0.0&type=5 "Two types of users participate in content slot development and implementation in Salesforce B2C Commerce: Merchants and Web Template developers.")

[Troubleshooting the Slot Configuration Displayed for a Slot](https://help.salesforce.com/s/articleView?id=cc.b2c_troubleshooting_the_slot_configuration_displayed_for_a_slot.htm&release=264.0.0&type=5 "This topic describes what determines the content slot configuration that appears for a content slot and best practice information.")

[Category and Folder Slots Contained in Locally Included Templates.](https://help.salesforce.com/s/articleView?id=cc.b2c_category_slots_contained_in_locally_included_templates.htm&release=264.0.0&type=5 "Salesforce B2C Commerce tools find and show slots that are directly referenced in the category rendering template")