Smarter time-based cache expiration.