Skip to content

support @cacheControl #246

@linstantnoodles

Description

@linstantnoodles

Apollo server implementations recognize cacheControl directives from subgraphs, but there doesn't seem to currently be a way to define this directive on fields.

Apollo Server recognizes the @CacheControl directive, which you can use in your schema to define caching behavior either for a single field, or for all fields that return a particular type.
Source: https://www.apollographql.com/docs/apollo-server/performance/caching/#in-your-schema-static

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