Django tip: Caching and two-phased template rendering
We've launched user accounts at EveryBlock , and we faced the interesting problem of needing to cache entire pages except for the "You're logged in as [username] " bit at the top of the page. For example, the Chicago homepage takes a nontrivial amount of time to generate and doesn't change often -- which means we want…