Please add support for some kind of has() API, or at least return something magic from get() to indicate a miss, like a singleton instance of RWFileCache\Miss or something. Returning false makes it impossible to distinguish a miss from a hit on cached false value.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Please add support for some kind of
has()API, or at least return something magic from get() to indicate a miss, like a singleton instance ofRWFileCache\Missor something. Returning false makes it impossible to distinguish a miss from a hit on cachedfalsevalue.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.