I am using @apollo/client with Next.js Server Side Rendering. The data I am fetching is from wp-graphql. There is just one slight issue, the cache is forever. I either have to specify the no-cache policy, or clear the cache every x minutes. Is there any better way to do this?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Apollo Client with NextJS; Where is cache stored? | 1 | 804 | October 26, 2023 | |
Cache never seems to be called | 1 | 459 | July 13, 2021 | |
Apollo browser cache | 0 | 358 | February 9, 2022 | |
Caching not working - Resolver hit on every request | 0 | 347 | August 29, 2023 | |
Caching advice (client/server) | 0 | 268 | March 5, 2024 |