---
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:614](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d9cf11cf4a11828e783aed6313f5ea49990488ff/packages/b2c-tooling-sdk/src/docs/search.ts#L614)

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

## Returns

`void`
