awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

JavaScript Caching Libraries

排名更新于 2026年7月13日

For a javascript library for caching data, the strongest matches are isaacs/node-lru-cache (This library provides robust in-memory caching with support for), ptarjan/node-cache (This library provides in-memory key-value storage with TTL expiration) and tannerlinsley/react-query (This library functions as a specialized cache manager for). mozilla/localforage and vercel/swr round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

我们为您精选了匹配 “best javascript caching libraries” 的开源 GitHub 仓库。结果按与您查询的相关性进行排名 — 您可以使用下方筛选器缩小范围,或通过 AI 进行优化。

JavaScript Caching Libraries

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • isaacs/node-lru-cacheisaacs 的头像

    isaacs/node-lru-cache

    5,895在 GitHub 上查看↗

    node-lru-cache is a key-value store for Node.js that implements a memory-limited cache. It prevents memory exhaustion by capping the total number of items or total byte size, automatically evicting the least-recently-used items to maintain these limits. The project provides specialized caching patterns, including time-to-live durations to ensure data freshness and a stale-while-revalidate mechanism that serves expired content while asynchronously fetching updates in the background. It also includes diagnostic tools for monitoring cache hits, misses, and eviction metrics through operational st

    This library provides robust in-memory caching with support for TTL expiration and LRU eviction policies, though it lacks built-in persistent storage capabilities.

    JavaScriptLeast Recently Used CachesLRU Cache EvictionApplication Caching
    在 GitHub 上查看↗5,895
  • ptarjan/node-cacheptarjan 的头像

    ptarjan/node-cache

    1,595在 GitHub 上查看↗

    Node-cache is a lightweight in-memory data storage module designed for Node.js applications. It functions as a key-value store that maintains frequently accessed data directly within the application runtime to improve response times and reduce latency. The library manages the lifecycle of stored information through automated expiration policies, which use internal timers to remove stale entries once a defined time-to-live duration has elapsed. It provides granular control over stored resources, allowing for the manual inspection, deletion, or clearing of specific keys to manage memory usage e

    This library provides in-memory key-value storage with TTL expiration for Node.js applications, serving as a focused tool for managing application state and improving performance.

    JavaScriptIn-Memory Data StoresTTL Expiration Management
    在 GitHub 上查看↗1,595
  • tannerlinsley/react-querytannerlinsley 的头像

    tannerlinsley/react-query

    49,769在 GitHub 上查看↗

    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

    This library functions as a specialized cache manager for server state, providing robust in-memory caching, TTL-based expiration, and asynchronous revalidation strategies to optimize application performance.

    TypeScriptAsynchronous Data Caching
    在 GitHub 上查看↗49,769
  • mozilla/localforagemozilla 的头像

    mozilla/localForage

    25,780在 GitHub 上查看↗

    localForage is a browser storage wrapper and key-value store that provides a unified JavaScript API for persisting data. It acts as an abstraction layer over IndexedDB, WebSQL, and localStorage, allowing web applications to save data offline. The library features a priority-based driver fallback system that automatically detects and selects the most capable storage engine available in the browser. It simplifies data management by providing an asynchronous interface for storing complex JavaScript objects and binary buffers without requiring manual serialization. The project covers broad capab

    This library provides a robust asynchronous API for persistent client-side storage, serving as a foundational tool for managing application data even though it lacks built-in TTL or LRU eviction policies.

    JavaScriptBrowser Storage Managers
    在 GitHub 上查看↗25,780
  • vercel/swrvercel 的头像

    vercel/swr

    32,406在 GitHub 上查看↗

    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

    SWR is a specialized data-fetching and caching library that manages remote state synchronization and in-memory caching for web applications, though it focuses more on network request lifecycles than general-purpose persistent storage.

    TypeScriptData Fetching LibrariesData Fetching State ManagementServer-Side Data Prefetching
    在 GitHub 上查看↗32,406
  • tanstack/queryTanStack 的头像

    TanStack/query

    49,761在 GitHub 上查看↗

    This project provides a comprehensive suite of tools for managing asynchronous state and building full-stack web applications. At its core, it functions as a centralized synchronization layer that automates data fetching, caching, and background revalidation, ensuring that remote server data remains consistent with the local user interface. By utilizing a declarative, hook-based programming model, it simplifies the management of complex data lifecycles and loading states. The project distinguishes itself through a headless design philosophy that decouples business logic from visual presentati

    This library provides a robust, hook-based caching and synchronization layer for server state, offering features like TTL-based expiration and background revalidation that effectively manage data performance in web applications.

    TypeScriptAsynchronous State ManagementAsynchronous State ManagersData Synchronization Libraries
    在 GitHub 上查看↗49,761
  • jaredwray/keyvjaredwray 的头像

    jaredwray/keyv

    3,147在 GitHub 上查看↗

    Simple key-value storage with support for multiple backends

    Keyv provides a simple key-value interface that supports both in-memory and persistent storage backends, including TTL expiration and an asynchronous API, making it a solid choice for managing application data.

    TypeScriptDatabase Utilities
    在 GitHub 上查看↗3,147
  • node-cache/node-cachenode-cache 的头像

    node-cache/node-cache

    2,375在 GitHub 上查看↗

    A simple caching module that has set, get and delete methods and works a little bit like memcached. Keys can have a timeout (ttl) after which they expire and are deleted from the cache. All keys are stored in a single object so the practical limit is at around 1m keys.

    This library provides in-memory caching with TTL expiration, serving as a straightforward tool for managing data in memory even though it lacks persistent storage and multi-level caching features.

    CoffeeScriptCaching
    在 GitHub 上查看↗2,375
  • level/levelLevel 的头像

    Level/level

    1,675在 GitHub 上查看↗

    Level is a database library that provides a unified interface for managing sorted key-value data. It functions as an abstraction layer that allows applications to store and retrieve binary information consistently across server-side environments and web browsers. The project utilizes a modular architecture that supports pluggable storage backends, enabling the system to adapt to different host environments while maintaining identical behavior. By organizing data in lexicographical order, it facilitates efficient range queries and ordered retrieval. The library handles large datasets through a

    This is a database abstraction layer that provides persistent storage with asynchronous APIs, serving as a foundational tool for building caching systems even though it lacks built-in TTL or LRU policies.

    JavaScriptDatabase Abstraction LayersCross-Platform Storage FrameworksEmbedded Database Integrations
    在 GitHub 上查看↗1,675

Related searches

  • a caching library for Go applications
  • a caching library for Go applications
  • a caching library for Java applications
  • a python library for caching function results
  • a caching library for C# applications
  • 支持缓存的 GraphQL 客户端库
  • React 数据获取与缓存库
  • a lightweight logging library for JavaScript applications