Skip to content

Add query cache feature and endpoint to invalidate cache #1

@0xGosu

Description

@0xGosu

Implement follow: https://hasura.io/docs/latest/caching/overview/
To clear cache use these endpoint:
POST /public/pro/cache/clear?key={HASH} -- Clears key hash
POST /public/pro/cache/clear?family={FAMILY} -- Clears items that match query family (ignoring variables)
DO NOT SUPPORT Clear All
(Ref: https://hasura.io/docs/2.0/caching/caching-config/#clearing-items-from-the-cache)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions