Ludicrous Speed: WordPress Caching with Redis

When I first started hosting my own sites, I had no idea what caching was or why it was important.  Then I wrote a couple of popular blog posts, and my server crashed.

Fast forward a few years, and I’m running a few different websites on a few different servers.  Some get a steady stream of traffic; others get a huge spike now and again when a post is picked up by Hacker News.  In both cases, configuring your cache is a great way to keep things from failing.

I’m very happy to say that I’ve finally set up a hugely efficient front-end page cache for WordPress.  It doesn’t use a plugin. It doesn’t require hacking core. And it serves my website in 3 ms. 1

Thanks to a clever configuration of Nginx and Redis, WordPress has achieved … ludicrous speed!

[Continue reading]

Notes:

  1. Yes, you read that right. Three milliseconds. This is exclusive of the time it takes to perform a DNS lookup or actually deliver the page. But it is proof that the bottleneck is no longer the server itself.

The Hackiest Hack that Ever Was Hacked

I was first introduced to Plupload when I was building websites in .Net.  I had some great HTML5 file upload tools that worked wonders in my browser of choice, but most of my colleagues (and about 80% of our clients) were using a browser that … [Continue reading]

Reader is Dead! Long Live Reader!

Google Reader will be discontinued on July 1st.

Chances are good you've heard the news about Google Reader.  If you haven't, allow me to be the first to offer my condolences. On July 1, 2013, Google Reader will be gone: Google discontinuing their less popular services isn't a new … [Continue reading]

Podcast

We should ask God each and every day to test us and show whether or not we are still following the path he laid out before us. … [Continue reading]

1Password: Better and Worse for Personal Data Security

iTunes requires you to re-enter your AppleID and password frequently.

Ever since I was a victim of digital identity theft in college, I've kept a keen eye on data security.  I use long passwords that mix case, numbers, and punctuation.  I impose ridiculous must-change-passwords-every-6-months rules on myself.  And I … [Continue reading]

Wordpress MU Hosting