la bibliothèque #diskcache est intéressante pour plusieurs raisons (https://github.com/grantjenks/python-diskcache) :
- écrite en pur #Python
- persistance du cache sur disque avec #SQLite
- fonctionnalités avancées, comme locking (cf. https://grantjenks.com/docs/diskcache/api.html#diskcache.Lock)
Et bien d'autres choses.