A lightweight cache with timed expiration.