buda-base / lds-pdi

http://purl.bdrc.io BDRC Linked Data Server
Apache License 2.0
2 stars 0 forks source link

caching authenticated requests #107

Open eroux opened 5 years ago

eroux commented 5 years ago

if I understand rfc7234 correctly, the cache control headers should have a public claim for all public URLs (those which result doesn't depend on the authentication of the user)

MarcAgate commented 4 years ago

Cache control header is now managed "by endpoint". There is no general way to address that issue since we have two levels of authentication : by endpoint and possibly by resource (in which case the cache header must be set within the endpoint implementation, according to the request param)