Implement expiring of cache