Disable local storage if ttl is -1