Caching - nonduality345/Convos GitHub Wiki

Caching

Cache control directives are enabled for this API for both Convos and Messages. Specifically, objects are specified as being private, so that they are not cached among shared proxies, with the mustrevalidate directive to ensure that no stale content is served from any cache upon expiration, even if a client specifies that it is ok to accept stale content. Upon any unsafe Http Methods (POST, DELETE, or PATCH), caches will invalidate their local resource.