News for hackers. Stuff that matters.
Re:Be a Good Jedi: Build Your Own Blog by nzmsv on Monday December 06, 2010 @02:02AM (#1974301)
If I were writing a blog engine right now, I think I'd do something different: make the post itself static, and pull in any dynamic content via AJAX. That way old browsers still get a readable compatible page (just don't load any fancy stuff), and for everyone else the blog works like any dynamically generated one. And fine-grained caching can be had for free.
Re:Be a Good Jedi: Build Your Own Blog by jrockway on Monday December 06, 2010 @03:10AM (#1974446)
I agree here. It's especially nice things like "posted x minutes ago". Murder for caching, but easy for Javascript to compute.
Re:Be a Good Jedi: Build Your Own Blog by JoachimSchipper on Monday December 06, 2010 @04:17AM (#1974610)
I've been thinking about using Disqus on my "blog". Which is, indeed, a bunch of HTML files built from Markdown input - using Disqus would, I imagine, consist of adding a single <script> tag.