Cache a resource until it is updated or deleted