type-cacheable icon indicating copy to clipboard operation
type-cacheable copied to clipboard

TypeScript-based caching decorator (currently supports Redis, LRU-Cache and NodeCache)

Results 13 type-cacheable issues
Sort by recently updated
recently updated
newest added

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...

enhancement

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...

dependencies

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...

dependencies

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 [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=18.8.3&new-version=18.11.0)](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...

dependencies

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...