Git 1.7.7 changes affecting the everyday developer
johnkary.net
johnkary.net
1. WordPress is very proud of its quick-setup process, and caching needs to be configured away from the defaults on a non-trivial number of systems.
2. Using caching makes your blog less dynamic. Things like "latest comments" don't update immediately across your site. Users who haven't explicitly installed caching don't necessarily understand why this isn't a bug.
So WordPress makes it really easy to install a caching plugin, and lets the tiny number of blogs that get enough traffic to need it install it themselves.
It uses Jinja2. This is awesome but you will be confused if you don’t read the Jinja2 designers' guide.
But it seems like static site generators became a fad recently, like Rails a few years ago, and this makes me slightly skeptical. It's always suspicious when somebody claims there is only one right way to do something. When it comes to me, feel free to have a backend for your blog. This certainly has some advantages, just don't forget about performance.
Or just use a hosted service. TMTOWTDI.
It's more like the universally accepted "right way of doing things" being taken a step further. Why should the system that generates the HTML be the same one that serves it?
The year 1994 called and would like to talk to you about your backward flowing sense of time and fads. :)
In all seriousness... when the Web was born (on Tim Berner-Lee's computer) it was pretty much just static HTML reached by HTTP. Then folks added static file generation, optionally, behind the scenes. Then techniques like CGI to make it dynamic each request, typically from a C program or Perl script. Anyway... Turns out, not all old ways are bad. For certain use cases, just plain HTML-over-HTTP, totally static, works fine. And hard to beat it's performance and resource usage.
http://github.com/may/yabe (Scheme. Barely started.)
(obviously not applicable to user-customizable content)
Edit: uh oh, after reading other comments more carefully, now I'm going to have to evaluate Hyde as an alternative (in the 'python static-generation' space). too many apparently-viable alternatives! option paralysis may set in!
The next thing Google will cache is your maintenance message.
You should serve those messages with HTTP 503, not HTTP 200.