Create a key string for key parts (cache key prefix, versions, entity name, etc).
Most commonly a simple parts.join(':')
. See integration test for example.
Instance of ioredis.Redis
TTL for negatively caching database misses. Successive entity loads within this TTL will be assumed not present in the database (unless invalidated).
TTL for caching database hits. Successive entity loads within this TTL will be read from cache (unless invalidated).
Prefix prepended to all entity cache keys. Useful for adding a short, human-readable distintion for entity keys, e.g.
ent-