Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETag and/or Last-modified headers in API #4139

Open
tuxpiper opened this issue Oct 29, 2020 · 0 comments
Open

ETag and/or Last-modified headers in API #4139

tuxpiper opened this issue Oct 29, 2020 · 0 comments
Milestone

Comments

@tuxpiper
Copy link
Member

tuxpiper commented Oct 29, 2020

Which user group(s) are the primary audience for this feature/enhancement.
All deployments, but specially those with high-traffic/concurrency.

Is your feature request related to a problem? Please describe.
Currently the REST API is not tagging its resources with ETag or Last-Modified headers.

This makes prevents taking advantage of caching re-validation mechanisms and conditional updates (i.e. fail when

Describe the solution you'd like

  • Implement ETag (preferably) headers for primitive resources (i.e.: Post, Tag, Form, User, etc)
  • Implement Last-Modified headers for searches or other complex resources (i.e.: Survey)
  • Properly implement HEAD methods

Describe alternatives you've considered
n/a

Additional context

Aha! Link: https://ushahiditeam.aha.io/features/PROD-888

@rowasc rowasc added this to the Parking Lot milestone Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants