There are 3 repositories under stale-while-revalidate topic.
Hooks for fetching, caching and updating asynchronous data in Vue
🤑 wrap virtually everything that can store by key to act as cache with ttl/max-age, stale-while-validate, parallel fetch protection and type-safety support
A case study of CSR.
🔥 Svelte stale while revalidate (SWR) data fetching strategy
⚡️ Powerful data fetching library for Nano Stores. TS/JS. Framework agnostic.
A minimal JSON:API client and React hooks for fetching, updating, and caching remote data.
Async state management for Leptos, providing simplified data fetching, integrated reactivity, SSR support, and smart cache management.
🔥 Stale-While-Revalidate (SWR) strategy to fetch data in Vue 3
A GraphQL code generator plug-in that automatically generates utility functions for SWR.
Storage-agnostic and configurable stale-while-revalidate cache helper for any function, for any JavaScript environment.
Your personal Youtube API server to get Youtube API responses without needing credentials.
`stale-while-revalidate` caching stratergy for vanilla web-apps
In-memory cache supporting promise based workers and middleware hooks (distributed expiry and persistence provided)
Redux and the Storage API as a single source of truth in Chrome Extensions
Simplified asynchronous operations and cache for Flutter
Stale-While-Revalidate support for any Laravel cache driver
This worker for CloudFlare workers enables Stale-While-Revalidate caching in HTML files, so you can get fastest Time To First Byte and best user experience. With options by locale, device, country
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.
Caching Http Proxy supporting stale-while-revalidate for NodeJS implemented in TypeScript
Demo repo for a minimal service worker to implement the stale-while-revalidate caching pattern, with a user notification if the origin response is different from the cache.
Stale-while-revalidate data fetching library for Svelte.
Search GitHub profiles by username and check their details in a nicely-formatted card
Refresh strategies for the RemoteData type
Build Your Own Link Hub With Storyblok, Astro, and Edgio.
🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
skipWaiting() with StaleWhileRevalidate the right way
Basic "stale while revalidate" Service Worker
Demonstração de possĂveis otimizações para o service worker de um PWA (Progressive Web App).
Aprendendo conceito de data fetching com stale-while-revalidate