I am creating a web application that displays static data from back end. The data is of different types. to disburden the back end i have implemented a cache for one type with guava's cache. now i need a cache for another type and the question is: implement a cache for this type or generalize the existing cache to handle "objects" (as far as i know i could give the different types different weights, right?). the advantage of different caches is, that i could configure the separately - probably switching one cache off?!
but i am apprehending that on using separate caches i will loose some nasty google-engineered cache management stuff?!
what do you think about that?
Go ahead, use multiple caches. There's no "nasty Google-engineered cache management stuff," as you'd see if you looked at the source code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With