Future<void> put<T>(String key, T object, [int? timeToLive]) => Invoker.put("/cache/$key", {"timeToLive": timeToLive, 'key': object});