Can I use this package with output: 'export'? #935
Unanswered
yakubovmax213
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following problem in my Next.js 15 App router application with output: 'export'. In production build I have about 1000 pages to generate and in each of them there is data fetching. These requests are not cached and are repeated many times due to Next.js using multiple parallel build processes of different pages running at the same time.
Can I use Redis and in particular your package to solve this problem? I want the request for each url to be executed once, and if such a request is already in process, then wait for it to complete rather than making a new request. In-memory cache doesn't work because Next.js runs several different threads to build. Data cache doesn't work as well because there is no locks mechanism and no waiting.
Beta Was this translation helpful? Give feedback.
All reactions