3 个仓库
Automatically refreshing local cache entries after a remote mutation to ensure data consistency.
Distinct from Remote Mutation Execution: Distinct from remote mutation execution: focuses on the local cache synchronization following the mutation.
Explore 3 awesome GitHub repositories matching data & databases · Cache Revalidation. 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
Updates server information and automatically refreshes the local cache to maintain data consistency across the UI.
opennextjs-aws 是一个无服务器基础设施适配器和部署工具,将 Next.js 构建产物转换为兼容的包,以便在 AWS Lambda 和 S3 上托管。它作为一个部署适配器,将框架特定的输出映射到无服务器函数和对象存储。 该项目通过实现无服务器特定的优化而脱颖而出,包括一个通过 S3 或 DynamoDB 同步增量静态再生(ISR)和 fetch 缓存的缓存管理器。它具有冷启动优化器,使用包压缩和定时函数预热来减少延迟,以及一个专门的图像优化流水线,用于从 S3 获取源文件并通过 CDN 分发。 该系统涵盖了广泛的能力,包括边缘中间件集成、基于队列的后台重新验证和多目标路由分发。它还通过 CDN 路由、地理位置数据注入和服务器响应流来管理流量,以改善首字节时间(TTFB)。 该工具为构建流水线、适配器行为和服务器逻辑提供了广泛的自定义选项,以支持多样的架构需求和 Monorepo 结构。
Updates page caches and invalidates distribution networks to ensure users see the latest content.
next-learn 是一个教育资源和参考实现集合,用于构建全栈 Web 应用。它作为 Next.js 框架的学习资源和教程,提供展示服务端渲染和基于 React 生态系统的入门代码和示例项目。 该项目提供了一个全栈 Web 模板,展示了数据库集成、用户身份验证和服务端逻辑的完整实现。它包括 Web 性能优化的参考示例,专门演示了服务端组件、服务端操作和动态路由的使用。 代码库涵盖了广泛的全栈功能,包括通过服务端查询和变更进行的数据管理、通过路由守卫进行的基于身份的访问控制,以及使用文件系统路由的导航架构。它还实现了各种渲染策略、图像和字体的素材优化以及用户界面样式设计。
Demonstrates how to refresh specific paths or tags in the server cache to maintain data currency.