Skip to content

Glossary: Django Beyond the Basics

cache.set, cache.get, cache.delete

Also written: cache API

The basic cache calls. `set` stores a value for a number of seconds, `get` returns it (or `None` once gone), and `delete` removes it.

Where the book teaches it

Related terms

Cache, stale dataCache invalidation