Ben Chuanlong Du's Blog

It is never too late to learn.

Serialization and Caching in Python

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

functools.lru_cache

https://docs.python.org/3/library/functools.html#functools.lru_cache

cachetools

https://cachetools.readthedocs.io/en/latest/ https://github.com/tkem/cachetools

diskcache sounds like a good options!!!

DiskCache …