Skip to content

Parse SDK doesn't obey ETag header from express server #1769

Open
@kassiansun

Description

@kassiansun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions