-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build gatsby/wordpress/3000 posts #3799
Comments
Thanks for bringing this matter forward @highlabs . I believe that Gatsby v2 will provide a faster build. @KyleAMathews Can you please elaborate on that ? |
@sebastienfi is correct. We're working on scalability issues, including v2 which will increase performance by upgrading from webpack 1 to webpack 3. Your personal blog has 10k posts? Or is this a company blog? Either way, impressive. |
@calcsam It's a lifestyle magazine. :) So we have 4 ~5 posts per day, but the blog was created 10 years ago. Thanks for the feedback, but one more question. It's a issue in Gastby or in the |
I think it's a webpack issue, so it would be located on the underlaying architecture and changing the source plugin won't make a difference in my humble opinion. V2 will also include I believe a performance monitoring tool so we should be able to have comparable metrics results upon configuration changes. |
Hi! I'm testing Gatsby as an alternative to wordpress. I created a simples Gatsby project with index + content page.
But, when I try to build, I get some errors:
With
gatsby build
, It just don't compile.https://pastebin.com/pyqB0nER
So I tried with
node --max_old_space_size=12000 --stack-size=100000 ./node_modules/gatsby/dist/bin/gatsby.js build --prefix-paths
It's compile but takes 9minutes. (https://pastebin.com/KqTnK7PB)
I want to use Gastby and Netlify (it's fail in free tier, I know...) But are normal to take so long to build the content? My blog has at least 10k posts, so if take 9minutes to compile only 3k posts Gatsby are not a alternative to use. :(
Environment
Gatsby version: 1.9.158
Node.js version: v8.9.4
Operating System: Linux Ubuntu 16.04 (4.13.0-32-generic)
Hardware: AMD Ryzen 5 1400 Quad-Core Processor, 4gb ram
File contents (if changed):
gatsby-config.js
: https://pastebin.com/UVEQkygLpackage.json
: https://pastebin.com/hpLZ3dRfgatsby-node.js
: https://pastebin.com/i7U3S63Rgatsby-browser.js
: defaultgatsby-ssr.js
: defaultThe text was updated successfully, but these errors were encountered: