
swrv
Vue library that fetches remote data with stale-while-revalidate caching through the Vue Composition API.
docs-swrv.netlify.app/repositorydocs
swrv is a Vue library for fetching remote data with stale-while-revalidate caching: a component gets cached data first, then the library sends the request and updates the data. The README describes it as largely a port of swr, the React library, and its FAQ compares the two.
Worth knowing
Server-side rendering support was removed in a later release. Vue 2 is no longer supported; its last releases stay installable under separate tags.
Identity
Rendering and deploy
- Install with
- npm3
Releases
Adoption
Sources
- 2026-11-16: links, Built on
docs-swrv.netlify.app/ - 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/Kong/swrv - 2026-11-16: Categories, Install with
github.com/Kong/swrv/blob/master/README.md - 2026-11-16: Maintainer
github.com/Kong/swrv/blob/master/LICENSE - 2026-11-16: First release, Last release
api.github.com/repos/Kong/swrv/releases - 2026-11-16: Current major version
registry.npmjs.org/swrv/latest - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/swrv - 2026-11-16: Contributors
api.github.com/repos/Kong/swrv/contributors - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/swrv