Added TTL to the cache