🗃️Caching
Caching dramatically improves application's performance
There are two types of caching available, InMemory & Redis.
In memory caching is used by default
Redis should be used instead in production environments where multiple instances of the same application might exist.
Configuration
Configure the CacheProvider appsettings.json property as follow:
In Memory Caching: InMemory or empty string or non existing property:
Redis Caching: Redis
Examples
Notes
With Redis caching, you also need to configure the RedisConnectionString property
Configure the caching for Harmony.Api & Harmony.Automations projects
Last updated