From Dictionaries to Decorators: A Practical Guide to Caching in Python
Talk presented by: Kader Miyanyedi
During PyCon NL 2025, at 14:50 in Progress

Caching is a simple but powerful way to make your Python code faster. It helps avoid repeating slow operations, like complex calculations or reading the same data again and again.

In this talk, we will explore different ways to use caching in Python, starting from basic dictionary-based caching to Python’s built-in decorators like @lru_cache, @cache, and @cached_property. You will learn how each method works, when to use it, and what to watch out for.

With easy-to-understand examples and real-world tips, this talk will help you improve the speed of your Python projects — without using any external tools or libraries.

Practical information
When: October 16th 2025
A map showing where the Jaarbeurs Utrecht is located
Where: Supernova
(Jaarbeurs Utrecht)
Jaarbeursplein 6
3521 AL Utrecht
The Netherlands
More info