Scaling Django from server to browser through an efficient caching strategy by Hedley Roos

7b0645f018c0bddc8ce3900ccc3ba70c?s=47 Pycon ZA
October 06, 2016
65

Scaling Django from server to browser through an efficient caching strategy by Hedley Roos

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.

7b0645f018c0bddc8ce3900ccc3ba70c?s=128

Pycon ZA

October 06, 2016
Tweet