#
stale-while-revalidate
Here are 16 public repositories matching this topic...
A minimal JSON:API client and React hooks for fetching, updating, and caching remote data.
-
Updated
Sep 21, 2021 - JavaScript
A GraphQL code generator plug-in that automatically generates utility functions for SWR.
-
Updated
May 28, 2021 - TypeScript
Your personal Youtube API server to get Youtube API responses without needing credentials.
-
Updated
Aug 12, 2021 - JavaScript
In-memory cache supporting promise based workers and middleware hooks (distributed expiry and persistence provided)
nodejs
javascript
cache
middlewares
cache-storage
redis-cache
lru-cache
cache-busting
redis-pubsub
ttl-cache
promise-cache
stale-if-error
stale-while-revalidate
nrkno
-
Updated
Dec 4, 2019 - JavaScript
`stale-while-revalidate` caching stratergy for vanilla web-apps
-
Updated
Oct 10, 2021 - TypeScript
Storage-agnostic helper that implements a configurable stale-while-revalidate caching strategy for any function, for any JavaScript environment.
-
Updated
Oct 8, 2021 - TypeScript
The web app informs users about all the launches by SpaceX and its rockets. It queries SpaceX's GraphQL API for the data. API responses are dynamically cached within service-worker with stale-while-revalidate approach. It's a PWA: is installable and works offline. It's developed using TDD approach and is completely typed with TypeScript.
react
graphql
caching
typescript
pwa
jest
tdd
offline
serviceworker
apollo-client
rtl
spacex
react-router-dom
stale-while-revalidate
-
Updated
Oct 16, 2020 - TypeScript
Refresh strategies for the RemoteData type
-
Updated
Apr 27, 2021 - TypeScript
skipWaiting() with StaleWhileRevalidate the right way
-
Updated
Jun 28, 2021 - HTML
Stale-while-revalidate data fetching library for Svelte.
-
Updated
Aug 22, 2021 - TypeScript
SWR (Stale While Revalidate) example of cache management and LocalStorage for server responses
-
Updated
Aug 31, 2020 - JavaScript
Search GitHub profiles by username and check their details in a nicely-formatted card
-
Updated
Jan 31, 2021 - TypeScript
Improve this page
Add a description, image, and links to the stale-while-revalidate topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the stale-while-revalidate topic, visit your repo's landing page and select "manage topics."


The documentation for
mutatetalks about local mutation for faster feedback, but the documented way to use it only mutates after a promise has resolved - in other words, not immediately.As a result, I've found myself writing code in this kind of pattern: