New to caching in general and am enjoying the EhCache (2.4) User's Manual (I couldn't find 2.5).
Right off the bat there are some fundamental concepts that I'm just not finding the answer to anywhere in the manual or their website.
log4j loggers, where each class in your application should get its own logger?Cache (<cache>), and an Ehcache (<ehcache>)?Thanks in advance!
Different caches for different caching policies. You may want to cache small, static bits of data for a long time, in memory. Where as larger objects may have a shorter lifespan to limit memory overhead, maybe even caching to disk locally if fetching the data takes more time than reading from disk.
I believe EhCache is the interface you should program against, where as Cache happens to be an implementation of EhCache.
For me, I pronounce it E H Cache. Say the letters. By no means an definitive answer. :)
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