New Issue Checklist
Issue Description
Currently, parse-server will return ETag header for /parse/* requests, but the client is not caching it properly
Steps to reproduce
/parse/config returned ETag header, but the parse client is not sending If-None-Match along with the further requests to /parse/config
Actual Outcome
Expected Outcome
The client should obey the standard HTTP caching semantics, and re-use local cache if the ETag is consistent with remote version: https://www.rfc-editor.org/rfc/rfc9111.html
Environment
Client
- Parse ObjC SDK version:
2.7
Server
- Parse Server version:
5.6.0
- Operating system:
Ubuntu 22.04
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
AWS
Database
- System (MongoDB or Postgres):
MongoDB
- Database version:
5.0
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
AWS
Logs
New Issue Checklist
Issue Description
Currently,
parse-serverwill returnETagheader for/parse/*requests, but the client is not caching it properlySteps to reproduce
/parse/configreturned ETag header, but the parse client is not sendingIf-None-Matchalong with the further requests to/parse/configActual Outcome
Expected Outcome
The client should obey the standard HTTP caching semantics, and re-use local cache if the ETag is consistent with remote version: https://www.rfc-editor.org/rfc/rfc9111.html
Environment
Client
2.7Server
5.6.0Ubuntu 22.04AWSDatabase
MongoDB5.0AWSLogs