WordPress vs. Jekyll: Why You Might Want to Switch

By David Turnbull
We teamed up with SiteGround
To bring you the latest from the web and tried-and-true hosting, recommended for designers and developers. SitePoint Readers Get Up To 65% OFF Now

I’ve been using WordPress for the last eight years or so and, along the way, it’s been a good companion. But it’s far from perfect. Over the last four years, while running a high-traffic blog about video games, I struggled with a range of problems, like:

  • My blog loading slowly.
  • My blog crashing during peak periods.
  • My blog becoming infected with malware.


It’s not like I didn’t prepare for these things. I installed W3 Total Cache, setup a content delivery network, upgraded the hosting, installed a number of security plugins, and did all of the “best practices” stuff.

Did these things help? Sure, but it was never enough, so when I shut down the site and no longer needed one of WordPress’ biggest advantages – being able to publish content quickly – I decided to look elsewhere.

Jekyll, I discovered, was exactly what I needed.

Introducing, Jekyll

Jekyll is a static blog generator. This means, instead of installing server-side software that’s built with a language like PHP, you use the command line on your local computer to generate static files (HTML, CSS, etc).

These files are generated based on:

  • A configuration file.
  • Any templates you want to define.
  • Markdown files for blog posts.

You then upload the generated files to any web server and, well, that’s your blog. While this might simply sound like a geeky alternative to WordPress, this static approach has a range of real-word advantages over WordPress.

Let’s talk about them.

1. WordPress is overkill.

These days, WordPress is basically a content management framework. It can do just about everything and, if that’s what you’re looking for, then stick with it. I haven’t got a vendetta against WordPress. It’s great software. It’s just evolved beyond its roots and beyond what I (and many other people) need.

Jekyll, by comparison, is just a blogging platform. To some, this focus will be limiting, but if you only want to run a blog, then:

  1. Jekyll has everything you need and nothing that you don’t. You won’t be bogged down in options and insignifcant choices, but you also won’t lack the features you need most.
  2. The writing experience is unparalleled. Because your content is built with Markdown files, you can use whatever text editor you prefer. Personally, I use Sublime Text, but any other option is fine. Your preference wins.
  3. There’s less chance of anything breaking. This is partly because of Jekyll’s small scope allowing for a considerable amount of polish, but also because you’re not dealing with finnicky server-side software.

The “best” tool will always depend on the context but, increasingly, I think a simpler platform like Jekyll is worthy of being considered first.

2. WordPress struggles under heavy load.

A few months after launching my blog, a traffic surge saw hundreds of people browsing my blog at the same time. This was it, I thought. My hard work is paying off. Then the blog crashed, and it remained crashed for the next few hours, so what should have been a big day for the blog turned into a ball of stress that made me look like an amateur.

Of course, WordPress isn’t the only server-side application that’ll have trouble when it receives a large amount of traffic, but there’s more than a few stories of WordPress blogs crashing at precisely the wrong time – even with all of the proper optimizations – and there’s nothing sillier than worrying about your blog becoming too popular.

By switching to Jekyll though, this risk is non-existent:

  1. The loading of static files places a tiny amount of load on a server. The amount of load is almost impercetible. You’d have to try hard (or have a really lousy web host) to make your blog crash.
  2. You can host your website on Amazon S3. This makes it near-impossible for your blog to crash since the resources will automatically scale as you use them. There are few better sources of peace of mind.

Maybe your blog has never been popular enough to crash from high traffic but, I can assure you, it’s a terrible feeling to put months of work into a blog, only for it to crumble when it gets the attention you’ve been looking for. Preparing for your big day, then, is a very worthwhile investment.

3. WordPress is slow.

For the same reasons that WordPress struggles under load, WordPress is slow: it relies on dynamic code and database calls. You can make a WordPress blog load fast, but it’s like trying to optimize the speed of a tortoise. You’re just not starting from the right base.

Optimizing a Jekyll blog, on the other hand, is easy, since you can:

  • Host your entire blog on a server running nginx.
  • Minify your HTML and CSS without using a server-side plugin.
  • Avoid over-complicated caching plugins altogether.
  • Regularly run all of your images through ImageOptim (which I’ve found a lot better than using the SmushIt! plugin).
  • Have much more direct control over the design of your blog. (WordPress has good support for theming, but Jekyll is less fiddly to get started with.)

But even without optimizations, the fact that Jekyll blogs are made of static files is enough to make them load faster than most WordPress blogs. It’s just that, if you go the extra mile, your blogs can load insanely fast. (My blog loads in under a second for most people, and I could take it further.)

4. WordPress is a growing target for hackers.

The more popular a piece of software it becomes, the more it becomes a target for the unfriendly sort of hacker. Does that mean your WordPress install is a ticking time-bomb and that someone will inevitably mess with it? Nope.

In the last eight years, I can only recall one breach where someone installed malware on my blog when I was a little behind on updating. So considering how easy it is to update WordPres and how many security plugins are now available, it’s not hard to grasp a solid amount of peace of mind.

That said:

  1. Having “lots” of peace of mind is not the same as having total peace of mind, and as someone who’s dealt with intrusions outside of WordPress, it’s a painful enough process that I’d rather avoid it entirely if I could.
  2. Security is not just the ability to protect from attacks, but also having the ability to quickly recover from anything that might go wrong.

The advantage of Jekyll is that, on the server, there’s only static files. There’s nothing dynamic that can be exploited. Are there other ways a hacker could break into your site? Sure. But only through the ever-present threats, like someone getting the username and password for your server. There’s no risk of a hacker breaking in through an exploit in a poorly written plugin or through a problem within Jekyll itself.

If an attack does occur, or if there’s “just” some data loss for some other reason, then the recovery process couldn’t be simpler:

  1. Regenerate the blog on your local machine.
  2. Upload it again to the server.

If you need a new server, then so be it. There’s nothing “heavy” to move like a database, or anything special to install. Just pay for a new server, upload the files to it, and that’s it. You’re back in action.

In terms of local data loss, it’s another non-issue. Store your Jekyll blog inside your Dropbox folder and it’ll be backed up continually. Throw in a tool like Arq (with Glacier) and your blog’s data will be safer than it probably is at the moment. The cost will also be negligible since static files are so tiny (while still being easy to store them for long durations of time).

5. WordPress hosting is expensive.

The catch-all solution for the problems I’ve covered so far is to pay more for web hosting. There are even hosting services like Synthesis that are precisely dedicated to solving these problems and can bring a satisfying level of peace of mind.

But these services come at a cost. Some will argue that “you have to spend money to make money” but that doesn’t always make sense. The struggle with my video game blog, for example, is that the margins were so low. If I spent extra on hosting, it would have been a significant chunk of the revenue. Maybe that’s a sign that something is wrong with the business model itself, but I was running the business how I wanted to run it and the costs were associated with my use of WordPress, rather than being an inherent factor in running the blog.

By avoiding these WordPress hosts, and by optimizing the hell out of my blog, I was able to sneak away with a bill of about $60 a month, but the blog would still crash under the (mostly) unpredictable traffic bursts.

Compare this to my new, static blog. I could receive 10,000 visitors in the next hour and it wouldn’t flinch, and yet it only costs $5 per month to host on a Digital Ocean droplet (with nginx installed).

To slice costs even further though, host your blog on Amazon S3. Not only will it scale without limits no matter how much traffic you receive, most people will spend only a couple of bucks for hosting. (The advantage of Digital Ocean is the speed, which is why I fork out the tiny bit of extra money.)


There’s a lot to love about WordPress and, if you find yourself thinking, “But the trade-off isn’t worth it…” in response to any of these points, then you’re probably right, and you should keep using WordPress.

I don’t want to push people onto Jekyll for the sake of it. However, I believe that a lot of bloggers (and a lot of blog readers) stand to gain from switching away from a dynamic blog, so it’s at least worth your consideration.

We teamed up with SiteGround
To bring you the latest from the web and tried-and-true hosting, recommended for designers and developers. SitePoint Readers Get Up To 65% OFF Now
  • Another great tool to produce static sites is http://mixture.io/

  • On the performance side of things, instead of throwing out WordPress entirely and if you are using Nginx for your web server – you might be able to get away with enabling FastCGI page caching. Have had great success on very high trafficked websites running WordPress with minimal messing around.


  • John Doe

    Ironically, SitePoint is built on WordPress…

    • Adam Rasheed

      No way a site this size should be on Jekyll. While jekyll/Gravr/Kirby are great options for smaller blogs (<30,000 monthly visits, single author), WordPress is actually kind of the perfect solution for large-scale blogs and content sites.

  • Tony Pirat Gustafsson

    With a little PHP cache, WordPress ain’t so bad… :)

  • That was a good read!

    It pretty much echo’s what I’ve been seeing recently with clients migrating away from WP for similar reasons, whether that’s a to a more efficient DB driven publishing or a flat file system such as Jekyll, Kirby or Statamic.

    WordPress has it’s place but like you said it’s overkill for many projects.

  • What about PHP5.5 with opcache did you try that? It lowered load from 4-5 to just 0.5 on a PHP heavy project.

  • Rob Wood

    I’ve recently switched over to Jekyll and I love it. The biggest problem was getting it installed, especially for a console-a-phobe like me.

    Worth the hassle though.

  • Timothy Solomon

    Dont forget that github pages is built on Jekyll – I’ve used it on a couple of projects where a wordpress site would be overkill. You can also use http://prose.io/ to edit the site online.

  • Joe Conlin

    Sorry, but you’re way off base with this post. WordPress handles high traffic sites very well with a little optimization (and keeping plugin use to a minimum). I currently have one client that peaks at 7000 concurrent visitors with page load times rarely exceeding 3 seconds. This site is also running on Nginx (WP runs great on Nginx). Further, as I do a lot of performance optimization for WP sites, I always use Total Cache which, contrary to your statement above, is probably the most complicated caching plugin but by far the best.

    While there is a definite argument for for some user to choose Jekyll, choosing it for performance reasons is not one of them.

  • Lewis Cowles

    Sorry david but this is nonsense. For the benefits you talk about without having to sacrifice anything you can of course generate static versions of wordpress and upload them to an S3. You can host the wordpress on a localhost using XAMMP or similar to mitigate any PHP hosting costs ($5-12 pcm, I ask how is that a lot?).

    WordPress is actually still better than Jekyll, even if you don’t have dynamic content, because it comes with all the UI helpers, uses HTML instead of markdown (which IMHO is crap) etc.

    WordPress was not the problem, it sounds like you needed to get an expert to help you, but instead threw in the towel. Imagine if we all took this approach to life, I’ll return my car because it only does 160mph and I dont have the skills to make it do more; Where would it end? I think what we definitely are seeing after 20years of focusing on helping people is that some people may need to admit when something is not there area of expertise and not blame technologies for their own abilities.

    This is not intended as an attack by the way, hopefully you can see that my comments are fair

  • Lewis Cowles

    Hopefully they have the good sense to stay on it…

  • DJ

    #1 – Maybe, depending on what you’re doing or plan to do. Even then, if all I wanted was a blog without all the framework there are many other alternatives than static sites. IMHO one of the leaders is Ghost.

    I don’t experience #2 or 3. My sites are optimized using various methods and with numerous tools.

    As far as #4, just about anything is a target for crackers (yeah, they’re not hackers). While you’ll never eliminate threats, ever, you can mitigate the majority. None of my sites have been “hacked,” even during the period a few months back when it seemed the bots were working overtime. And even if one or more were, I can restore from backup in < 5 minutes.

    #5 – Pure, well, fantasy. It costs no more to host a WordPress site as is does a static site with one exception: if you *need* a built-for-WordPress hosting solution – especially a managed one – like WpEngine or others. In that case you're getting a lot for your money.

    I've been using WordPress since it's initial release and today it's easier to use, manage, tweak, etc. then back when. Like any "tool" you have to choose the right one for *the job*. Something people fail to mention over-and-over again. Biases run deep.

  • Ahmad

    You forget to add link to Jekyll in the article. This is not good comparison and WordPress is great blog tools ! I just agree with 4 and 5. IMO

  • OphelieLechat

    Ironic how, Mr Doe?

    • Lewis Cowles

      An article about wanting to switch from WordPress on a site powered by wordpress… (I’ll let you glean the irony) ;)

      • OphelieLechat

        Right — the article isn’t about switching everyone to WordPress, though. If we were suggesting that everyone ditch WP while keeping it as a platform, *that* would be ironic ;)

        • Irony is not boolean, or binary, it exists as most things do as part of a continuum, or matrix of factors. Thank you for acting as the sole arbiter of the internet on Irony, but I think although well intentioned, it’s a silly and trivial point to quibble over what % of users you were looking to inform / convert…

          For the record; I am not particularly enamoured with WordPress or Jekyll, and as a Systems Architect I understand a lot of the potential benefits for and against a switch as well as a case for third-party plugins and alternative systems to facilitate this transfer. The point being A WordPress powered site informing people why to switch from WordPress without doing so itself is a bit like me as a meat eater writing articles on why I tried vegan-ism once upon a blue moon.

  • I would personally use Gulp-based static site generation (no dependencies on Ruby, Python). Similar to this one: https://github.com/kriasoft/static-site-starter

  • Chu Quang Tú

    I think the author is like a fanboy of Jekyll. We all know Jekyll is good but I don’t think WordPress is that bad as you mentioned in the article. Sorry. I don’t like this. It makes no sense

  • jekyll is the best tool for blogging, there are all tools for it, and about GUI, there is a good tool prose.io, which you can use as admin panel for jekyll web sites, hosted in github pages

  • Tim

    If you only want a blogging platform, why not just use Tumblr?

  • Rafael Archuleta

    Unfortunately Mixture is no longer under active development.

    • Still works great and even better, it’s FREE now!

  • Justino

    I would like to see the same article about Jekyll – what are the disadvantages? How much time will it take to update sites? To add functionality? What Fortune 500 or Fortune 100 companies are using this now? What is the SEO advantage of Jekyll or disadvantage?

  • Exactly what I was going to say!

    Using Jekyll with GitHub Pages is a dream:

    – you get free hosting (GItHub’s!)
    – you apply best practises (source control on your content)
    – you get a web editor (with markdown preview) for free (you can directly edit your git repo content on GitHub’s website)

    If you want to go further with jekyll and mimic Database features (like a portfolio or something else), I wrote an article 2 years ago => http://sebastien.saunier.me/blog/2013/10/04/why-you-should-learn-jekyll-today.html

  • Actually I’m going to make the same step with one blog (just to test). You are so right with your article! WordPress is not that bad when using the core without that much PlugIns. But the code base, code quality and structure is more than just awful… I will not setup any new WordPress sites, since the code is still 1990-style. Hundreds of patches per week try to avoid getting hacked.

  • The more I read about Jekyll, the more I feel it to be a better fit for many organizations that use WordPress for blogging but have primarily static content on their site. Doing advanced layouts and inputs in WordPress is a bit of a pain (have to rely on third-party plugins like ACF, or having a ton of posts that are simply included in a page template). Thanks for the perspective!