---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [docs](../index.md) / resetDocsCache

# Function: resetDocsCache()

> **resetDocsCache**(): `void`

Defined in: [packages/b2c-tooling-sdk/src/docs/search.ts:626](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/4cf43fc45515b297cb4f1d80249c5a896379e7b4/packages/b2c-tooling-sdk/src/docs/search.ts#L626)

Resets the in-memory index/search caches. Intended for tests that swap the
bundled data on disk between assertions.

## Returns

`void`
