Getir interview question

How can you solve a cache invalidation problem?