> ## Documentation Index
> Fetch the complete documentation index at: https://langchain-zh.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 缓存集成

> 使用 LangChain JavaScript 与缓存进行集成。

[缓存 LLM 调用](/oss/javascript/langchain/models#caching) 对于测试、成本节约和速度提升都很有帮助。

以下是一些集成方案，允许您使用不同的缓存和策略来缓存单个 LLM 调用的结果。

<Columns cols={3}>
  <Card title="Azure Cosmos DB NoSQL 语义缓存" icon="link" href="/oss/javascript/integrations/llm_caching/azure_cosmosdb_nosql" arrow="true" cta="查看指南" />
</Columns>

***

<div className="source-links">
  <Callout icon="edit">
    [Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/i18n\zh-CN\oss\javascript\integrations\llm_caching\index.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
  </Callout>

  <Callout icon="terminal-2">
    [Connect these docs](/use-these-docs) to Claude, VSCode, and more via MCP for real-time answers.
  </Callout>
</div>
