-
Notifications
You must be signed in to change notification settings - Fork 2
Caching
Alex edited this page Jan 29, 2021
·
1 revision
Disabled by default
the response cache can be enabled by overriding GetCacheKey()
which will cause subsequent calls to ExecuteAsync()
to get the result from the cache.
Note: Responses are cached per CommandKey
.
To enable in a command:
protected override string GetCacheKey()
{
return "key";
}