vswr
🔥 Stale-While-Revalidate (SWR) strategy to fetch data in Vue 3 (by ConsoleTVs)
type-cacheable
TypeScript-based caching decorator (currently supports Redis, LRU-Cache and NodeCache) (by joshuaslate)
| vswr | type-cacheable | |
|---|---|---|
| 2 | 1 | |
| 108 | 191 | |
| 0.0% | 0.5% | |
| 0.0 | 9.2 | |
| about 4 years ago | 10 days ago | |
| TypeScript | TypeScript | |
| MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vswr
Posts with mentions or reviews of vswr.
We have used some of these posts to build our list of alternatives
and similar projects.
-
How do I cache the result of an axios request for subsequent loads?
You should look into the stale-while-revalidate pattern. Here is a vue implementation: https://github.com/ConsoleTVs/vswr
-
VSWR (Vue Stale While Revalidate) now supports <Suspense>
You can learn more by visiting: https://github.com/ConsoleTVs/vswr
type-cacheable
Posts with mentions or reviews of type-cacheable.
We have used some of these posts to build our list of alternatives
and similar projects.
What are some alternatives?
When comparing vswr and type-cacheable you can also consider the following projects:
vue-query - Hooks for fetching, caching and updating asynchronous data in Vue
idle-task - Improve your website performance by executing JavaScript during a browser's idle periods.
TurboSolid - Lightweight asynchronous data management for solid
vanilla-swr - `stale-while-revalidate` caching stratergy for vanilla web-apps
netlify-cache-nextjs - Cache the Next.js build folder in your Netlify builds