---
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/702798b6e2ea7765dbfd4b62ff999546a36b6859/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`
