Caching
Caching
Caching
Caching involves keeping commonly accessed and/or important resources as close to the API endpoint as possible to ensure optimal performance.
APIs MAY use Content Delivery Networks (CDNs) to help manage caching.
Caching within an API SHOULD be managed through the use of caching directives in the HTTP Cache-Control
header. If caching is not supported by the API or if the API cannot process specific directives in the cache-control header, the API MAY ignore the directive. These directives may be processed further upstream, such as in a CDN.