type-cacheable
type-cacheable copied to clipboard
TypeScript-based caching decorator (currently supports Redis, LRU-Cache and NodeCache)
How do clear all keys in a cache using @CacheClear without specifying every key? It is sometimes useful to blow away the whole cache when an update/delete occurs
**Describe the bug** type-cacheable CacheClear failure on method updateUserDetails due to client error: Cannot read property 'redis_version' of undefined when using @CacheClear **To Reproduce** Steps to reproduce the behavior: When...
Current implementation only support promise as return type, it's nice to have support for Observable also
No idea if this is a core bug or the lrucache adaptor bug. I'm using LRUCache. When specifying ttlseconds I have to actually specify millis. e.g for 30 seconds I...
when `cacheKey` is set as an array of string for `CacheClear` decorator, it'll only clear out the first key in the array
Love this library! At the moment there appears to be no hooks to determine if the cached key lookup was a hit or a miss or the number of times...
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.1.2 to 29.2.0. Release notes Sourced from jest's releases. v29.2.0 Features [@jest/cli, jest-config] A seed for the test run will be randomly generated, or set by a...
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna) from 5.6.1 to 6.0.1. Release notes Sourced from lerna's releases. v6.0.1 6.0.1 (2022-10-14) Bug Fixes run: allow for loading of env files to be skipped (#3375) (5dbd904) v6.0.0...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.8.3 to 18.11.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Hello ! Not sure if it's a bug or if we don't use this package correctly We're using this package (10.1.0) with @redis/client When our redis loose it's connection, we...