7 रिपॉजिटरी
Configuration options for managing automatic background data updates.
Distinguishing note: Focuses on disabling revalidation, not general fetching.
Explore 7 awesome GitHub repositories matching web development · Revalidation Controls. Refine with filters or upvote what's useful.
React Query is an asynchronous state management library and data fetching orchestrator designed to fetch, cache, and synchronize server state in web applications. It functions as a server-state cache manager that handles asynchronous data requests to keep local application state in sync with a remote server. The library implements a stale-while-revalidate cache pattern, which provides immediate access to cached data while triggering background updates to maintain consistency. It further supports optimistic user interface updates, allowing the interface to change immediately during data mutati
Implements the stale-while-revalidate pattern to provide immediate cached data while triggering background updates.
SWR is a data fetching library that provides a collection of hooks for managing remote data synchronization, caching, and state updates in web applications. It employs a declarative approach to handle complex network request lifecycles and dependency chains, ensuring that client-side application state remains consistent with server data through automatic revalidation and background updates. The library distinguishes itself through a reactive cache layer that automatically synchronizes local state with remote sources based on component lifecycle events. It features event-driven revalidation, w
Allows disabling automatic background updates for immutable resources to prevent redundant network requests.
Inertia is a server-driven frontend framework designed to create monolithic single page applications. It acts as a state synchronization protocol and client-side routing bridge, allowing developers to build interactive experiences using modern JavaScript component libraries while keeping routing and controllers on the server. This approach eliminates the need for a separate REST or GraphQL API layer by passing data from server controllers to frontend components as props via JSON payloads. The framework distinguishes itself by utilizing adapter-based integration to link various backend environ
Inertia JS delivers cached content immediately while refreshing the data in the background.
node-lru-cache, Node.js के लिए एक की-वैल्यू स्टोर है जो मेमोरी-लिमिटेड कैश को लागू करता है। यह आइटम्स की कुल संख्या या कुल बाइट साइज को सीमित करके मेमोरी की कमी को रोकता है, और इन सीमाओं को बनाए रखने के लिए सबसे कम उपयोग किए गए (least-recently-used) आइटम्स को स्वचालित रूप से हटा देता है। यह प्रोजेक्ट विशेष कैशिंग पैटर्न प्रदान करता है, जिसमें डेटा की ताजगी सुनिश्चित करने के लिए 'टाइम-टू-लिव' ड्यूरेशन और एक 'स्टेल-व्हाइल-रीवैलिडेट' मैकेनिज्म शामिल है जो बैकग्राउंड में अपडेट्स को एसिंक्रोनस रूप से लाते समय एक्सपायर्ड कंटेंट को सर्व करता है। इसमें ऑपरेशनल स्टेटस ऑब्जेक्ट्स और डायग्नोस्टिक चैनल्स के माध्यम से कैश हिट्स, मिसेस और इविक्शन मेट्रिक्स की निगरानी के लिए डायग्नोस्टिक टूल्स भी शामिल हैं।
Supports the stale-while-revalidate pattern to serve expired content while asynchronously updating entries.
Easy-peasy एक React स्टेट मैनेजमेंट लाइब्रेरी और टाइप्ड फ्रेमवर्क है जो ग्लोबल एप्लिकेशन स्टेट को मैनेज करने के लिए एक सेंट्रलाइज्ड स्टोर प्रदान करता है। यह एक इम्यूटेबल स्टेट स्टोर और एक एसिंक्रोनस स्टेट ऑर्केस्ट्रेटर के रूप में कार्य करता है, जो स्टेट डेफिनिशन, एक्शन्स और डिराइव्ड वैल्यू के लिए एंड-टू-एंड टाइप सेफ्टी सुनिश्चित करता है। लाइब्रेरी नेस्टेड डेटा के प्रबंधन को सरल बनाने के लिए डायरेक्ट म्यूटेशन सिंटैक्स को इम्यूटेबल अपडेट में बदलकर खुद को अलग बनाती है। इसमें स्टेट ट्री को स्टोरेज में पर्सिस्ट करने और एप्लिकेशन बूट प्रक्रिया के दौरान इसे रिहाइड्रेट करने के लिए एक तंत्र शामिल है, जिसमें रिहाइड्रेशन पूरा होने तक यूजर इंटरफेस को सस्पेंड करने की क्षमता है। फ्रेमवर्क ऑप्टिमिस्टिक रेंडरिंग के साथ एसिंक्रोनस API कॉल के ऑर्केस्ट्रेशन और कैश किए गए डिराइव्ड स्टेट की गणना सहित कई क्षमता क्षेत्रों को कवर करता है।
Implements a stale-while-revalidate strategy to provide immediate cached state while updating in the background.
opennextjs-aws is a serverless infrastructure adapter and deployment tool that transforms Next.js build artifacts into compatible packages for hosting on AWS Lambda and S3. It functions as a deployment adapter that maps framework-specific outputs to serverless functions and object storage. The project distinguishes itself by implementing serverless-specific optimizations, including a cache manager that synchronizes incremental static regeneration and fetch caches via S3 or DynamoDB. It features a cold start optimizer that uses bundle minification and scheduled function warming to reduce laten
Triggers asynchronous cache updates via workers to refresh stale content without blocking user requests.
This project is a content delivery network implementation that uses a web server and scripting language to cache content at the edge and reduce latency for end users. It functions as a distributed system designed to store backend responses on edge nodes and route incoming client requests through a proxy. The system utilizes custom request logic to handle edge caching strategies, including the delivery of stale content during origin failures. It implements request coalescing to merge simultaneous requests for the same resource into a single upstream call to prevent backend overload. The proje
Implements a stale-while-revalidate strategy to serve expired cached content when the origin server is unreachable.