Hello Netlify friends. I thought I’ll update you on my project with 300,000 pages.
As I expected, I encountered multiple roadblocks, and I overcame them. Yet eventually, Gatsby memory allocation problem. I researched it, I realized I won’t be able to overcome this. So I split the site into multiple builds, and wrote a script to loop through these builds, and I placed each build output in a subfolder.
While doing the above, I was thinking about the next challenge: deploy. Unfortunately, Netlify CLI deploy gave up, and gave me a JSON looking error message. I googled it, and realized I won’t be able to overcome it.
I could have uploaded the smaller sites independently, yet this has its own complications.
So I thought I’ll try Firebase hosting. Setting up was simple. The huge site uploaded smooth as cream, and blazing fast.
Surely, for all my upcoming not so huge projects, I’ll use Netlify.
I thought some of you can learn from my experience, so I’m posting this.
Thank you for the great Netlify product, and support. Have a good day.