ncbo / ontologies_api

Hypermedia API for NCBO's ontology-related projects
http://data.bioontology.org
Other
25 stars 10 forks source link

set expires headers to analytics endpoints #95

Closed alexskr closed 1 year ago

alexskr commented 2 years ago

Cache-Control/expires headers are not set for analytics endpoints which creates an unnecessary load on the API (see https://github.com/ncbo/bioportal_web_ui/issues/207) Analytics doesn't change frequently so it should be safe to set long cache expiry