static Future<NyCache> getInstance() async { if (_instance != null) return _instance!; // Use a single future to prevent race conditions _initFuture ??= _createInstance(); return _initFuture!; }