Is there a proper pattern for invalidating the cache when you are using [CacheResponse]
or more simply put, can I get the cache key for an arbitrary DTO in a service?
Invalidating when you use [CacheResponse]
The CacheResponse Attribute is invalidated by the duration specified. Don’t use it if you need to invalidate it manually as it’s not possible to reliably retrieve all cache keys used in a [CacheResponse]
Service.