FIFO works for both cache and main memory