add ttl to cache