Post #524840
2026-02-13 14:50 UTC
I'm really happy that @talkpython talked about diskcache https://pypi.org/project/diskcache/
in this episode: https://talkpython.fm/episodes/show/534/diskcache-your-secret-python-perf-weapon
I had an urgent 🔥need to add sqlite3 caching to a project last week and wrote my own little caching class. Soon this turned into too much work when clever cache invalidation was needed.
So I added diskcache as a secondary cache and have then refactored the code into using it and today could delete my own Quick and Dirty Caching Class.
If you need caching, have a look.
Replies (2)
-
@mkennedy@fosstodon.org 2026-02-13 14:52
@mborus @talkpython Thanks. It really solves the problem nicely doesn’t it? I have it doing a ton of heavy lifting for the various Talk Python websites and couldn’t be happier.
-
@NiklasMM@freiburg.social 2026-03-30 06:52
@mborus @talkpython I listened to the episode with much interest yesterday as this would fit a project in working on quite nicely. When I looked at it though, I noticed, that it hasn't gotten a release in almost three years while there's a big backlog of PRs that seem to be largely ignored. Sadly the project seems to be abandoned and therefore I wouldn't use it in production