Wow, didn’t expect so many insights! The `cachetools` lib sounds legit—gonna try that for a project with TTL needs.
Also, the point about unhashable args is huge. I totally would’ve missed that.
One follow-up: how do y’all handle cache invalidation in long-running apps? Like, if the DB updates, do you just clear the whole cache or is there a smarter way?
Cheers for the help!
Also, the point about unhashable args is huge. I totally would’ve missed that.
One follow-up: how do y’all handle cache invalidation in long-running apps? Like, if the DB updates, do you just clear the whole cache or is there a smarter way?
Cheers for the help!
