Skip to content
21 changes: 21 additions & 0 deletions docs/storefront/stencil/start/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,27 @@ Stencil's use of **YAML Front Matter** allows developers to request only the obj

Stencil themes can access remote objects through event hook and use the hooks to trigger defined events based on shopper behavior. This will allow you to collect product data and optimize a shopper's experience. To facilitate theme-building, BigCommerce provides [stencil-utils](/docs/storefront/stencil/utils/reference) -- a client-side library for managing event hooks.

## Pre-rendered Checkout pages

All stencil themes utilize the [Speculation Rules API](https://developer.mozilla.org/en-US/docs/Web/API/Speculation_Rules_API) to pre-render checkout pages, improving performance and user experience.

**Pre-rendering** means the browser begins loading a page in the background (for example, when a shopper hovers over or is likely to click a checkout link) so that it appears almost instantly when opened.

### Limitations

- Currently only works for non-custom checkout pages.
- Currently only works if the shopper is using Google Chrome and Edge based browsers. Check [browser compatibility](https://developer.mozilla.org/en-US/docs/Web/API/Speculation_Rules_API#browser_compatibility) to see latest browser support.
- Does not work on iOS.
- The checkout won't pre-render if the shopper updates their cart on the cart page.

<Callout type="info">
If you are hosting your own analytics you'll need to make changes to your implementation to ensure compatibility. See our [hosted analytics documentation](https://developer.bigcommerce.com/docs/integrations/hosted-analytics) for more information.
</Callout>

<Callout type="info">
Custom checkout pages are not supported. This includes the B2B Edition checkout and any custom checkout pages built with the [Checkout SDK](https://github.com/bigcommerce/checkout-sdk-js) or forked from [Open Checkout](https://github.com/bigcommerce/checkout-js).
</Callout>

## Blueprint (Legacy framework)


Expand Down