Skip to content

[5.x] Add ability to exclude queries from graphql cache#14391

Open
Skullsneeze wants to merge 1 commit intostatamic:5.xfrom
Skullsneeze:feature/graphql-cache-control
Open

[5.x] Add ability to exclude queries from graphql cache#14391
Skullsneeze wants to merge 1 commit intostatamic:5.xfrom
Skullsneeze:feature/graphql-cache-control

Conversation

@Skullsneeze
Copy link
Copy Markdown
Contributor

This PR provides introduces a new option to exclude certain queries from the GraphQL cache. This can be handy if you need to ensure certain data needs to be retrieved in real-time, while keeping the other responses cached.

Note: I'll try to add a test soon too!

@Skullsneeze
Copy link
Copy Markdown
Contributor Author

Related docs PR: statamic/docs#1876

Copy link
Copy Markdown
Member

@jasonvarga jasonvarga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're not adding new features to v5. Please target 6.x.

@Skullsneeze
Copy link
Copy Markdown
Contributor Author

We're not adding new features to v5. Please target 6.x.

Ah, got it, will update the Pr as needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants