Caching on Server Functions - Size Limit? #65711
Unanswered
enszrlu
asked this question in
App Router
Replies: 1 comment
-
Is there a way to increase the 2MB size limit for caching? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am using revalidate to cache my fetches to decrease external API overload. Generally it works pretty good without any issues, but it does not work for a particular API endpoint where I fetch 8.1mb of JSON data. Is there a limit for caching, if so is it possible to increase it?
const response = await fetch(url, { next: { revalidate: REVALIDATE_DURATION } });
Beta Was this translation helpful? Give feedback.
All reactions