What's new in Customer Journeys?

Connect and learn more!
Enabling caching for /ccstore/v1/products/{id} — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Enabling caching for /ccstore/v1/products/{id}

Received Response
55
Views
3
Comments

Summary:

How can we enable caching for the GET product endpoint (/ccstore/v1/products/{id})?

- https://docs.oracle.com/en/cloud/saas/cx-commerce/cxocc/op-ccstore-v1-products-id-get.html

The response header basically has "must-revalidate,proxy-revalidate, public" for cache-control. Does this indicate that it is cached by default?

According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control, must-revalidate seems to indicate that it is cacheable, but there is no "max-age" in the response header.

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!