Django tip: Caching and two-phased template rendering |

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


There are no comments.

Add a comment