The lruCache should be migrated into its own shah/ts-cache-proxy or similar module so that it can be reused across projects. What's unique is that it's using a modern Proxy to provide a transparent cache and that may be useful in other situations.
After extraction we might want to create multiple persistence options such as memory, file, and database.
The lruCache should be migrated into its own
shah/ts-cache-proxy
or similar module so that it can be reused across projects. What's unique is that it's using a modern Proxy to provide a transparent cache and that may be useful in other situations.After extraction we might want to create multiple persistence options such as memory, file, and database.