DEV Community

Harshit rathod
Harshit rathod

Posted on

I spent 16 hours to migrate my site! Here is result

Old Site: harshitrathod.com

This week I am doing a detailed analysis of my blog traffic and I am very much disappointed by the performance. I am using WordPress on my blog. I asked for feedback to some of my friends. I also perform a test of a website on different site and it is pretty bad.

Performance on google insight:

Performance on Testmysite.io:

Because Of this I decided to solve this problem.yesterday I posted a question about replacing WordPress with a static site. Yesterday around 10 P.M IST I started to work on my site to convert to a static site. I spent continuous 16 hours to create a new blog site.

I used Jekyll + Github so that I can reduce hosting charges.

Here is new site : harshitrathod.github.io

Performance on google insight:

Performance on Testmysite.io:

Only pending test GitHub + custom domain. I will not publish anything on new site for a week and I am open to feedback. If everything goes fine I will enable custom domain and old site will not be accessible.

Top comments (4)

Collapse
 
vinaypai profile image
Vinay Pai

I don't think your problem is WordPress. As far as I can tell, you have very little content on your WordPress site (seems like three articles). I don't mean this as a knock on your site, just saying that it's very unlikely that WordPress is the problem here, probably more to do with how it's setup and configured. Some of the largest content websites out there (for example Washington Post) use WordPress.

It's worth understanding why it's slow before trying to solve the problem. One immediate problem I see is that there are a huge number of JS and CSS files on the WordPress site, but the static page is far simpler.

You could either switch to a simpler theme that looks more like your static page, or use a WP plugin like this one to combine and minify your external files.

Collapse
 
nektro profile image
Meghan (she/her)

Yeah, to add on to this, a quick comparison of your two sites in DevTools reveals that your WordPress site makes 49 requests totaling 402 kb most of which are over http/1. On your new site, only 12 requests are made totaling 232 requests all of which over http/2.

Great job on making your site better, but as mentioned above some huge sites (Washington Post, NY Times, CNN, Facebook) all use WordPress

Collapse
 
siddhantrimal profile image
Siddhant Rimal

Pair that up with netlify and you're set 🔥🔥🔥

Collapse
 
imthedeveloper profile image
ImTheDeveloper • Edited

Indeed. I'd probably jump on netlify nowerdays before github pages. However both good services and ideal for these types of use case.

I've recently done a benchmark of the market for static site hosting. I'll post this up as a separate article as it might be useful for others.

As an example there is the lesser known netlify owned bitballoon.com