This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
Apollo client cache increasing page data size by 20x #1113
Unanswered
jamesdward
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
First of all, this package has been invaluable in my latest project so thank you everyone
The only major issue I've run into is a problem with the page data size which I first noticed when Vercel was throwing warnings when revalidating getStaticProps. Without the apollo state added to the page props the data size comes to 128kb, when I use apollo state that size increases to over 2.5mb which is huge and is causing timeouts and errors on the server.
Am I somehow using it wrong or is there a way to decrease this size as currently I have to switch it off?
Thanks for the help
Beta Was this translation helpful? Give feedback.
All reactions