I want to implement cache manager,for that I want to clear the cache after 15 days, how to implement this? How will I get to know 15 days completed or not, How I can achieve this any idea?

有帮助吗?

解决方案

The broad strokes: Store your desired cache expiration date, set a timer to go off on that date, and check on startup whether you're past the date. If either the timer goes off or the startup check is positive, clear the cache.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top