Visualize FIFO cache replacement. Watch how items enter and exit the cache in strict insertion order, regardless of access frequency.
First In, First Out evicts the oldest item: the one that was inserted first, regardless of how recently or frequently it was used.
Unlike LRU, a CACHE HIT in FIFO does NOT change the item's position in the eviction queue. Only new insertions move things forward.
FIFO is the only policy that can suffer Belady's anomaly: adding more cache capacity can sometimes increase the miss rate!