Closed eroux closed 6 years ago
All done as of commit b007cf8
All data responses use custom @JerseyCacheControl() annotation having max-age=172800 as default (2 days).
All ontology related responses use the Etag mechanism (each url having its own Etag) and expose Last-Modified header
looks good, thanks!
We should have a few caching mechanisms:
context.jsonld
and various enpoints where the ontology is available), where we can record the date of last update, and use that in the cache headers (example)Access-Control-Allow-Headers
and possiblyAccess-Control-Expose-Headers
headers, I guess we need at leastKeep-Alive,User-Agent,If-Modified-Since,Cache-Control,Content-Type,Accept-Encoding