Preparing for system design interviews?  Try bugzed.com →

Conditional Cache

JSON →
library 1.4 ·python
verified Jun 28, 2026

Conditional Cache is a Python library that provides a decorator for conditionally caching function results. It wraps `functools.lru_cache`, allowing caching only if a specified `condition_func` returns `True` based on the function's output. The current version is 1.4, and its release cadence is driven by bug fixes and feature enhancements, maintaining a stable API.

total hits 13
actors 4 distinct systems
last hit 20d ago AhrefsBot
ByteDance
5
GPTBot
4
Script
1

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany