-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Newly added areas not listed right away #1243
Comments
I think it's option
perhaps there should be some cache invalidation logic when publishing a new area? |
We're calling a custom function to revalidatePath after every update. Maybe it doesn't get called in this case? |
The docs for revalidatePath says:
we are calling it like:
So I suppose we should not specify |
I believe the GraphQL queries are also cached because Next replaces the underlying https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#dynamic ![]() |
Closing. This bug seems to be fixed. |
Steps to Reproduce
I believe 2 changes contribute to the caching issue:
a. we recently made an adjustment to Cloudflare cache (turn on Proxy for openbeta.io)
b. longer area page cache https://github.com/OpenBeta/open-tacos/pull/1234/files#diff-95ae8c28eafa1b51054aba9cd1574da984871e3fb0c47e615a4ea5da78231e35
The text was updated successfully, but these errors were encountered: