vuex-cache

JSON →
library 3.5.0 ·javascript
verified Jun 7, 2026

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.