{"library":"apollo-cache-persist","type":"library","category":null,"description":"Simple persistence for all Apollo Client 2.x cache implementations, including InMemoryCache and Hermes. Version 0.1.1 (GitHub: apollographql/apollo-cache-persist). Supports web (localStorage) and React Native (AsyncStorage). Released with no major updates since initial version. Key differentiators: hooks into Apollo cache writes with debounce, supports custom triggers (background, write, custom function), provides a CachePersistor class for manual control. Does not support Apollo Client 3.x (use apollo3-cache-persist for that).","language":"javascript","status":"deprecated","version":"0.1.1","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install apollo-cache-persist","imports":["import { persistCache } from 'apollo-cache-persist';","import { CachePersistor } from 'apollo-cache-persist';","import type { PersistedData } from 'apollo-cache-persist';"]},{"cmd":"yarn add apollo-cache-persist","imports":[]},{"cmd":"pnpm add apollo-cache-persist","imports":[]}],"homepage":"https://github.com/apollographql/apollo-cache-persist#readme","github":"https://github.com/apollographql/apollo-cache-persist","docs":null,"changelog":null,"pypi":null,"npm":"apollo-cache-persist","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}