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

# 缓存集成

> 使用 LangChain JavaScript 集成缓存。

[缓存 LLM 调用](/oss/javascript/langchain/models#prompt-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="terminal-2">
    [将这些文档](/use-these-docs) 通过 MCP 连接到 Claude、VSCode 等，以获取实时答案。
  </Callout>

  <Callout icon="edit">
    [在 GitHub 上编辑此页面](https://github.com/langchain-ai/docs/edit/main/src/oss/javascript/integrations/llm_caching/index.mdx) 或 [提交问题](https://github.com/langchain-ai/docs/issues/new/choose)。
  </Callout>
</div>
