Bookmarks

Django tip: Caching and two-phased template rendering | Holovaty.com

Adrian Holovaty describes a clever technique they use at Everyblock to render templates in two phases — the first to generate and cache the expensive, data-intense part of the site; the second to render the final, uncached bits (the “You’re logged in as…” bit). Includes code

www.holovaty.com/writing/django-two-phased-rendering/

Comments

There are no comments.

Add a comment