Skip to content

Support for cache-control headers in full response cache as an option #4272

@joao-dias-tma

Description

@joao-dias-tma

We have migrated from Apollo Server 3 and the response cache plugin there is cache-control headers which we use to store responses in Cloudflare workers as a proxy, so it bypasses our origin entirely.

However, GraphQL Yoga uses ETag which isn't that friendly with our caching proxy, and we are wondering if another alternative plugin was considered that uses cache-control headers instead. I've tried to search here and Google around but it doesn't look like anyone did such plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions