a cache algorithm is an algorithm used to manage a cache or group of data. when the cache is full, it decides which item should be deleted from the cache. the word "hit rate" describes how often a request can be served from the cache. the term latency describes for how long a cached item can be obtained. cache alorithms are a trade-off between hit-rate and latency.