voxxrin / voxxrin3

GNU Affero General Public License v3.0
9 stars 2 forks source link

Add ETag header support on organizer API endpoints #26

Closed fcamblor closed 1 year ago

fcamblor commented 1 year ago

It would be a nice to have to support ETag request header in order to return 304 Not Modified empty payload when no statistic has been updated for provided request

It would mean providing some quick-access calculated latest modification fields at the event firestore level (not a big deal, but needs to be added because currently, we don't have such fields, and it would be useless to "calculate" it on the fly everytime we receive a new request)

Concerned endpoints (as of writing) :

fcamblor commented 1 year ago

fixed and deployed on prod/demo envs