cvisionai / tator

Video analytics web platform
https://tator.io
GNU Affero General Public License v3.0
107 stars 34 forks source link

Support cache-control on metadata endpoints #1772

Open bctcvai opened 3 months ago

bctcvai commented 3 months ago

It'd be possible to let the client cache metadata results if REST endpoints returned the last modified time or the data (for lists) or datum(for individual) in the HTTP header.

Related to: https://github.com/cvisionai/tator/issues/1462

bctcvai commented 2 months ago

Some detail endpoints may benefit from storing last modified time in Redis, this would help with supporting If-Modified-Since on those endpoints.