Developed in 2001 at Salon.com, Bricolage CMS was one of many “static site generators” at the time. And while many things have changed in 13 years, it seems we’ve returned to static sites in a big way in 2014.
Over the holidays, I migrated this site – after many enjoyable years – from old faithful CMS, MoveableType, to Jekyll – just one of the many contemporary breeds referred to as “static site generators.”
My earliest forays into blogging happened when so-called static site generators were pretty much the only way things worked: the Greymatter software that I initially used for blogging, though it provided a Web-based interface for writing and management, ultimately output static HTML files. When I later upgraded to Moveable Type it felt familiar because it did the same.
The advantages of having a site served statically back in those days were pretty obvious. Hosting accounts, if you were lucky enough to have one, were pretty paltry offerings, and a simple static site was usually less expensive and more straightforward to maintain. Thus, I get a bit of a chuckle when I read about the renaissance of static sites: really, it seems to be all the rage again … and for good reason.
Static sites in 2014
Though the hosting situation is radically different today than it was in 1999, some of the same category of challenges remain: keeping sites secure, making sites fast, and ensuring that a given site can stay online under surges of traffic. Not surprisingly, static sites handle many of these challenges just as well in 2014 as they did years ago.
I could relate more than one story of a friend who, after slaving over their Varnish set-up for months, cried like a little child when their site was hit by a surge of traffic and, for some unknown reason, Varnish was brought to its knees (no doubt a misconfiguration, or misunderstanding, or lack of testing). I’ve never had to worry about this scenario with a static site. Static sites by their nature can typically handle traffic spikes while only using a very small footprint of server resources.
For example, on February 24, 2008 – the day that Ralph Nader was on Meet The Press to announce his entrance into the US Presidential campaign – the VoteNader.org site – a static site! – was serving close to 300 requests a second and pushing 50 mbps at its peak, and the server did not show any significant load.
More than that, static sites are just simpler. There’s a heck of a lot less to debug when something goes wrong. On the flip side, in a modern dynamic Web application, one might have to debug the caching system, middleware, the application itself, application templates, a database, and possibly even a job queue – that’s a lot of places to look for a bug!
How much “dynamic” does a site really need?
Back in 2004, as I was starting to draft a proposal to re-develop the Web site for Grist.org – at that time one of the highest traffic environmental news sites in the US – I was asking myself the question “how many of the features on this site actually need to be dynamic?” As it turned out after some investigation very, very few.
In the end, Bricolage CMS was proposed as the content-management solution for Grist.org and – after its initial implementation – it was a system they kept in place for more than five years. At the end of the day, Bricolage CMS is a static site generator (on steroids, I’ll admit). It’s a very powerful Web-based user interface for managing large libraries of content that, when it comes time to publish, simply “burns” out static resources. It’s the same CMS that I would turn to some years later for the Nader campaign, and it’s the CMS that still runs behind the scenes at the award-winning daily online news site The Tyee.
Some years later when the content-management system ecosystem went plug-in crazy, it was easy to see why Bricolage fell out of style. If you wanted comments on your site: they were just a one-click install away … Wanted discussion forums? One-click! Wanted share tools? Only. One. Click. Wanted a slow-to-load Web site and an overloaded database? No need to click anything, you already had it!
Beyond that, my sense is that many publishers have ultimately admitted that not everything needs to be “real time,” and that most users, in most scenarios, don’t experience a noticeable difference between real time and near real time; Or, on the flip side, that the data behind Web sites, and – similarly – many news apps don’t actually change that frequently1.
Jekyll for just about everything
I’ll be the first to admit that I’m not an expert on all the current options for static site generators, there seem to be a few of them out there at least at the moment. What I do know is that Jekyll seems to have some steam again, and the smart folks behind Github and Development Seed seem to be pushing it forward at a promising pace.
More than that, Development Seed is proposing a world in which static site replace the CMS, and they’re putting their development practice where their mouth is by rolling out Jekyll-backed sites for the likes of HealthCare.gov (the parts that work).
My gut says that we’re going to continue to see a fair bit of innovations in this previously “static” space in 2014.
Using Jekyll in an interesting way? Have a war story to tell about static sites? Drop a comment below, or on Twitter