Caching

This part of the iSHARE Scheme is considered normative and is therefore compliant with RFC 2119.


Often data is temporarily stored on a different medium, to enable faster access to the data.


For every API exposed under iSHARE caching MUST Be made explicit to the API consumer.

If a response is not cacheable it MUST contain the following headers:

Adherence information
Cache-Control: no-store
Pragma: no-cache


If a response is cacheable it MUST contain the following headers:

Adherence information
Cache-Control: max-age=31536000

Note: max-age MAY vary