#[apollo-cache-persist] purged cached data | apollo-cache-persist Error | apollo-cache-persist not working
问题 This is the code I have used for cache persistance using 'apollo3-cache-persist', seems to have automatically purge the cached data after initial caching. Purging causes everything in the storage used for persistence to be cleared. Hence resulting in not persisting. import { persistCache, LocalStorageWrapper, LocalForageWrapper } from 'apollo3-cache-persist'; const httpLink = createHttpLink({ uri: 'http://localhost:4000/' }); const cache = new InMemoryCache(); persistCache({ cache, storage: