Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable static query caching #39085

Open
2 tasks done
Karol-Waliszewski opened this issue Sep 10, 2024 · 0 comments
Open
2 tasks done

Disable static query caching #39085

Karol-Waliszewski opened this issue Sep 10, 2024 · 0 comments
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: bug An issue or pull request relating to a bug in Gatsby

Comments

@Karol-Waliszewski
Copy link

Preliminary Checks

Description

Hello I have a website and having trouble with the cache. Static Queries of Gatsby (json files) are being cached between different build which results in wrong data on some end users. I would like you to help me figure out why those files are being cached and how to solve this issue.
This is the main example of such behaviour: https://www.sgi.pl/page-data/sq/d/3386237632.json
Can I make it revalidate each time?

Reproduction Link

https://www.sgi.pl/

Steps to Reproduce

...

Expected Result

Not caching

Actual Result

Caching

Environment

MacOS

Config Flags

No response

@Karol-Waliszewski Karol-Waliszewski added the type: bug An issue or pull request relating to a bug in Gatsby label Sep 10, 2024
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

1 participant