Caching

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 to 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:

Copy

Cache-Control: max-age=31536000

Note

max-age MAY vary

Last updated