ExpiringCache is a simple cache implementation that stores key-value pairs with an expiration time. It automatically removes expired entries and can be used to cache data that is only valid for a certain period.