node-ts-cache
node-ts-cache copied to clipboard
If you cache a result value that's a false boolean value, the cache will always miss
I created a cached method using the decorator and backed by NodeFsStorage. If the method returns a boolean that you want to cache, and the boolean value is false, the cache will always get hit. I'd expect it to respect the ttl.