What is cache? The word cache is actually very generic and hides a lot of different flavors, which don't target the same needs.
However, all cache implementations share a common basis in terms of principles:
- The data is accessible by key
- The cache provides some eviction mechanisms representing the validity of the stored values
- The cache relies on memory storage first