3 ms·
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 o
by nzmsv 16y ago
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.
- jrockway 16y agoI agree here. It's especially nice things like "posted x minutes ago". Murder for caching, but easy for Javascript to compute.
- JoachimSchipper 16y agoI'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.