In software engineering, caches are tools that remember the results of time-expensive operations. They’re able to improve the performance and scalability of our code.

A similar concept is in hardware engineering with cache memory, which function with the same principles. Since memory reads and writes are slower than instruction clock cycles, we use smaller caches to speed up reads and writes.

Sub-pages

  • Replacement policies
    • LRU (least recently used)
    • MRU (most recently used)
    • LFU (least frequently used)