Scaling Django from server to browser through an efficient caching strategy

Speaker: Hedley Roos

Type: Talk

Room: Congo Room

Time: Oct 06 (Thu), 11:45

Duration: 0:45

At Praekelt we're responsible for high traffic sites built in Django. An efficient caching strategy is required to minimize server load and in this talk we illustrate the techniques we use to serve Telkom's web site.

The talk assumes basic Django knowledge.

We will touch on:

  1. Volatile caching with memcached as backend.
  2. Template fragment caching.
  3. View caching.
  4. HTTP caching headers and how they affect Nginx and browsers.
  5. Automated cache invalidation.
  6. Automated Nginx reverse cache purging.