0
pankajmathur created
Hi,
I am using the default in-memory caching that is available in your framework. The question is: Is Caching happens per tenant or it will be shared among tenants. My observation is it is getting shared among tenant. If that's the default behavior, whats the best way to achieve caching per tenant?
Regards, Mahendra
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
0
Hi @pankajmathur,
Yes, it is shared between tenants. You can simply add tenantId or tenancyName as a prefix for your cache key.
For example it would be "1_UsersCache" or "DefaultTenant_UsersCache".
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks for the suggestion, we are now implementing the same.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)