---
schema_version: "1"
id: 8bb1601134ac026f607f8f0d04c767a30586a81b86982e7649ca0e11fa2c445f
title: OCAPI Caching on eCDN
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/ocapi_caching_on_ecdn_jemc.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.ocapi_caching_on_ecdn_jemc.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 934fac8684ad98f59870ca913fb317b6bf8da4ea00110e2879af7f710f6a6de1
description: OCAPI caching is now supported on eCDN for the GET products API. OCAPI caching decreases the load of API requests to the origin, and improves the API response time by 50% or more - improving performance and load times.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# OCAPI Caching on eCDN

OCAPI caching is now supported on eCDN for the `GET products` API. OCAPI caching decreases the load of API requests to the origin, and improves the API response time by 50% or more - improving performance and load times.

When: OCAPI caching enablement begins in early April 2022.

How: To see cached responses, set up cache-controls. If you’ve already set up a cache-control header for OCAPI `GET products` calls, no additional changes are needed. To clear cache, use the CDN-API.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-b2c_commerce_release_notes-264-0-0-production-enus/4ec7e638-d25e-4c65-96ec-ec874bcf5183/images/icon_note.png)

Note Caching supports customers using the client ID format, `x-dw-client-id`. OCAPI calls that use an authentication header, are excluded from caching.

See Also:

- [OCAPI Caching 21.10](https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/OCAPI/current/usage/Caching.html)
- [Invalidate a Page Cache Partition](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/b2c-content-cache.html)
- [API: CDN Zones - Commerce Cloud Developer Center](https://developer.commercecloud.com/s/api-details/a003k00000UIKk2AAH/commerce-cloud-developer-centercdnzones)

#### See Also

- [OCAPI Caching 21.10](https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/OCAPI/current/usage/Caching.html)
- [Invalidate a Page Cache Partition](https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/content/b2c_commerce/topics/admin/b2c_invalidating_a_page_cache_partition.html)
- [API: CDN Zones - Commerce Cloud Developer Center](https://developer.commercecloud.com/s/api-details/a003k00000UIKk2AAH/commerce-cloud-developer-centercdnzones)