Building large site (~50K) using template and JSON Data #32396
Unanswered
sonalimerchia
asked this question in
Help
Replies: 1 comment 4 replies
-
Does it fail locally too? |
Beta Was this translation helpful? Give feedback.
4 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a website of about 50K pages that are mostly just templates from an array in a central json file. It's currently taking a really long time to build so netlify is timing out.
The
data.json
file is just an array of objects whilegatsby-node
looks kind of like this:The template doesn't have any queries and the step in the build that takes too long is the
Building static HTML for pages
I'm not sure how to go about improving the build time. Is there a better way to do this?
Beta Was this translation helpful? Give feedback.
All reactions