When to use LIFO cache eviction policy?

I can’t think of a benefit of using the Last in First Out policy. It works like a stack and I feel it’s kind of counterintuitive for caching. Can any I give an example of when LIFO is useful?


Hi Nedia!
Can you please specify the lesson link where you are confused regarding LIFO policy so that we can better answer your query?
Thank you.