Wow, thanks for all the tips! Didn’t realize there were so many options for python cache.
Tried `lru_cache` and it worked like magic for my use case. The `maxsize` tip saved me from a memory leak too.
Still figuring out invalidation—might go with the versioned args idea.
Anyone tried `redis` with Python? Is the setup worth it for small projects?
Tried `lru_cache` and it worked like magic for my use case. The `maxsize` tip saved me from a memory leak too.
Still figuring out invalidation—might go with the versioned args idea.
Anyone tried `redis` with Python? Is the setup worth it for small projects?
