This project is read-only.

Multi tenancy Caching - Business Data

Topics: General
Jun 28, 2013 at 7:50 AM
I need to cache business data, i.e the results of webservices i understand after reading that this would be the module I'm after

The twist is most of my data but not all is common across all tenants, it would therefore make sense that it only be cached once.

What would be the best way to achieve this?
Jun 28, 2013 at 5:27 PM
Edited Jun 28, 2013 at 5:27 PM
Yes. For business data caching you should use Orchard.Caching, It's exactly the reason why it was created.
Best way would be to replace the DefaultCacheService with your own implementation (it's dead simple to implement one) and remove the automatic key prefixing to have full control over the final key (currently, each key is prefixed with tenant name).