Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Django tip: Caching and two-phased template rendering. Neat trick for expensive pages which can be mostly cached with the exception of the “logged in as” bit—run them through the template system twice, caching the intermediary generated template.

Tagged , , , , ,

1 comment

  1. There's also ESI for a more 'infrastructure' level solution to the problem. However support for it in caching proxies is still a little weak.

    http://blog.ianbicking.org/esi-caching.html

    Michael Koziarski - 20th May 2009 00:01 - #

Comments are closed.
A django site