DEV Community

Cover image for The Great Gatsby Migration

The Great Gatsby Migration

Sung M. Kim on November 10, 2019

Photo by Ray Hennessy on Unsplash I finished migrating a WordPress blog, SlightEdgeCoder.com to Gatsby, https://sung.codes/, yesterday (2019-11-10...
Collapse
 
bayuangora profile image
Bayu Angora

What about build and deploy time benchmark? Is it fast enough?

Collapse
 
dance2die profile image
Sung M. Kim • Edited

I haven't done a benchmark (not sure how to...).

As I am using a free tier of Netlify, I just checked about 10 deploy logs.

The build + deploy ranges between 4~9 minutes (I have many images and posts therefore, so gatsby is generating thumbnails, optimized images etc).

It's fast enough as it's a static content mostly and not updated frequently for my use-case (free, fast load time, and can test locally before publishing, etc.).

Collapse
 
bayuangora profile image
Bayu Angora

That's what I mean. I don't use Gatsby. But 4 minutes or more (for personal blog) is really slow. I use Hugo for my personal blog with hundred posts and few images, it's only takes below 2 minutes to build and deploy.

Thread Thread
 
dance2die profile image
Sung M. Kim

Build time is relative (to project size). And also, it's not just about build time.

Thread Thread
 
bayuangora profile image
Bayu Angora

Yes, it's depends on your needs.

Collapse
 
joeey profile image
Joe

Although you was trying to migrate simple personal blog from WordPress to Gatsby you faced alot of hiccups in the process.. So I am wondering what if a huge WordPress site depends on woocomerce in its design want to take the same move.. Will be even possible of course without losing its traffic

Collapse
 
dance2die profile image
Sung M. Kim

I lost lotcha traffic as the migration started "after" the site went down (recovered most of it nowadays).

what if a huge WordPress site depends on woocomerce in its design want to take the same move.

I had a trouble with a simple "table" plugin (to show a ToC) didn't work so I believe a migration of such a site would be require more up-front plan (what plugins are installed and how they are rendered etc).

Collapse
 
powerc9000 profile image
Clay Murray

Oh so this is all your fault! I was trying to google how to do something and your article was a top hit. However since you deactivated your account I couldn't see it. You really aught to look into redirecting the old domain.

Collapse
 
dance2die profile image
Sung M. Kim

Yupz it was my fault, as I let it suspend 😅

Try the old one, which will take you to the new one now.

slightedgecoder.com/2018/12/18/pag...