> For the complete documentation index, see [llms.txt](https://help.ppgg.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.ppgg.in/docs/admin-console/manage-members/directory-connector/clear-sync-cache.md).

# 清除同步缓存

{% hint style="success" %}
对应的[官方文档地址](https://bitwarden.com/help/article/clear-sync-cache/)
{% endhint %}

当同步更改到您的 Bitwarden 组织时，Directory Connector 将会保留本地缓存。此缓存允许 Directory Connector **仅在两个目录之间发送增量**（之前/之后）。

如果特定目录更改未按预期同步，或者您遇到同步错误（例如「An unhandled server error has occurred」（发生未处理的服务器错误）），请尝试清除此缓存。清除缓存将在下一次同步操作时触发完全同步。

要清除本地缓存：

{% tabs %}
{% tab title="桌面版" %}
打开 [Directory Connector 桌面 App](/docs/admin-console/manage-members/directory-connector/directory-connector-desktop-app.md)：

1. 选择 **More** 选项卡。
2. 在 **Other** 部分，选择 **Clear Sync Cache** 按钮。
   {% endtab %}

{% tab title="CLI" %}
使用如下命令：

```shell
bwdc clear-cache
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.ppgg.in/docs/admin-console/manage-members/directory-connector/clear-sync-cache.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
