Baeldung newsletter, Check Out the Guava Cache

Guava is definitely a very cool library. It ticks all the right boxes – it’s actively developed, intelligently designed and helps with just about everything.
Let’s start with their Caching implementation; if you’ve been using a HashMap to cache anything, please follow these steps:

  1. apply a sharp slap to your own wrist
  2. read this article
  3. use the Guava Cache

>> THE GUAVA CACHE (DON’T USE A HASHMAP)

Leave a comment