My Oracle Support Banner

Support For Cache Directives From SSE Responses. (Doc ID 2491061.1)

Last updated on DECEMBER 30, 2019

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

On : NA version, Store Administration

After setting a cache header on the response:
cache-control: public, max-age=86400 by using

res.set('cache-control', 'public, max-age=86400').status(200).json(response)

Cache header being returned correctly in local environment, but when deployed to the server the cache directives appear as:
Cache-Control: must-revalidate,proxy-revalidate
Cache-Control: public

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.