
For the cache-control response header it is possible to set either the max-age of the cache or to switch off the cache altogether by using the ES_RESPONSE_CONTEXT-DO_NOT_CACHE_ON_CLIENT export parameter.
Error Message: No-Cache and Max-Age cannot be used simultaneously.
It is not possible to set the cache-control response header to no-cache and max-age as this is mutually exclusive. Therefore please check the ES_RESPONSE_CONTEXT-MAX_AGE and ES_RESPONSE_CONTEXT-DO_NOT_CACHE_ON_CLIENT export parameters.
You are not allowed to set the ES_RESPONSE_CONTEXT-IS_NOT_MODIFIED export parameter to ABAP_TRUE in case if-modified-since is initial.
You are not allowed to set the ES_RESPONSE_CONTEXT-IS_NOT_MODIFIED export parameter to ABAP_TRUE in case of framework $expand (generic expand).
SAP Gateway always recommends using the data provider $expand rather than relying on the framework $expand (generic expand) due to performance reasons.
You are allowed to set the ES_RESPONSE_CONTEXT-IS_NOT_MODIFIED export parameter to ABAP_TRUE in case of data provider $expand, but it must be the same value for all nodes of one expand query.