I want to cache result from ServiceCallout. And want to derive information from the cache-control header in response of the ServiceCallout. I want to cache the data within Apigee based on the information returned by the server.
Service returns e.g. public, max-age=16544. I want to access the value of max-age. Unfortunately, Apigee only makes available the value "public".
With snippet of Javascript code, can dump all the header values. Only the value "public" is returned for the header cache-control. Can't get hold of that max-age value.
I experience this problem both with cloud and on-premise version (4.17.09). Suggestions very welcome!