Caching is a way to boost performance efficiency. Often, data is temporarily stored on a different medium to enable faster access to the data.
For every API that is compliant with iSHARE, caching MUST be made explicit to the API consumer.
If a response is not cacheable, it MUST contain the following headers:
Copy
Cache-Control: no-store Pragma: no-cache
If a response is cacheable, it MUST contain the following headers:
Cache-Control: max-age=31536000
Note
max-age MAY vary
Last updated 2 months ago