5 个仓库
Tools for updating and revalidating local data caches.
Distinguishing note: None available; minting under Data & Databases.
Explore 5 awesome GitHub repositories matching data & databases · Cache Mutation Utilities. 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
Provides utilities for updating and revalidating local data caches during the mutation lifecycle.
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
Updates local cache data and triggers revalidation for specific keys using bound mutator functions.
Memcached is a high-performance, distributed, in-memory key-value storage and request routing engine. It functions as a volatile data store designed to accelerate dynamic applications by caching objects in RAM, thereby reducing backend database load and providing sub-millisecond response times. The system utilizes a specialized architecture that organizes memory into fixed-size slabs to minimize fragmentation and maximize throughput for high-concurrency workloads. The project distinguishes itself through a multi-threaded, lock-friendly design that scales across CPU cores and supports complex
Updates or replaces stored data with optional version checking to ensure consistency and prevent accidental overwrites.
Vue Apollo is a GraphQL client library for Vue.js that integrates Apollo GraphQL queries and mutations into Vue components with reactive data binding. It provides a reactive data layer that automatically updates Vue component state when GraphQL query results change, and supports server-side rendering by prefetching queries during SSR to deliver fully populated HTML on initial page load. The library allows GraphQL queries and mutations to be declared directly inside Vue component options using the apollo property, keeping data dependencies co-located with the UI. It wraps Apollo Client's nor
Updates the Apollo Client normalized cache with mutation response data and triggers reactive updates to dependent queries.
next-learn 是一个教育资源和参考实现集合,用于构建全栈 Web 应用。它作为 Next.js 框架的学习资源和教程,提供展示服务端渲染和基于 React 生态系统的入门代码和示例项目。 该项目提供了一个全栈 Web 模板,展示了数据库集成、用户身份验证和服务端逻辑的完整实现。它包括 Web 性能优化的参考示例,专门演示了服务端组件、服务端操作和动态路由的使用。 代码库涵盖了广泛的全栈功能,包括通过服务端查询和变更进行的数据管理、通过路由守卫进行的基于身份的访问控制,以及使用文件系统路由的导航架构。它还实现了各种渲染策略、图像和字体的素材优化以及用户界面样式设计。
Updates database records via server actions and refreshes the application cache to maintain data currency.