Conference Schedule

Track one or two? Eeenie, meenie, miney, moe…

log in to bookmark.

Cache rules everything around me

A Talk presented by Jacob Burch, Noah Silas

Time

Thursday, September 8th 4:20 p.m.–5 p.m.

Level

Intermediate

Description

This talk aims to briefly introduce the core concepts of caching and covers the best practices of using Django’s cache backend.

Abstract

"Are you caching?" is a question asked early on in any yarn on web scaling advice. These conversations are much better steered by asking a more open and difficult questions "What is your caching strategy?" and “How are you implementing it?” This talk aims to briefly introduce the core concepts of caching and quickly moves to cover the best practices of using Django’s cache backend. We will let the audience know what the important questions to ask are, give them advice on how to implement the right answers, and when even the built-in core backend isn’t enough, point them to more advanced techniques and the right third party tools.

Important questions covered:

Why am I caching in the first place? Do I have to?

What is your caching strategy?

What are examples of good caching strategies?

Where do I put my cache code?

How dynamic is my content? Could I use a published cache?

Should I cache Django objects, or raw data?