{"library":"vuex-cache","type":"library","category":null,"description":"Cache dispatched Vuex actions to prevent repeated requests and heavy computations. Version 3.5.0 is stable, with regular maintenance. Supports Vue 2/3 and Vuex 1-3. Unlike manual caching, it provides a simple plugin-based API with `store.cache.dispatch`, `has`, `delete`, and `clear` methods. Uses action name and payload as cache key. ESM and CommonJS compatible, includes TypeScript definitions. Requires Map and Promise polyfills for older environments.","language":"javascript","status":"active","version":"3.5.0","tags":["javascript","vuex","vuex-plugin","cache","cache-actions","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install vuex-cache","imports":["import createCache from 'vuex-cache'","import { cacheAction } from 'vuex-cache'","store.cache.clear()"]},{"cmd":"yarn add vuex-cache","imports":[]},{"cmd":"pnpm add vuex-cache","imports":[]}],"homepage":"https://github.com/superwf/vuex-cache","github":"https://github.com/superwf/vuex-cache","docs":null,"changelog":null,"pypi":null,"npm":"vuex-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}