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

# Overview

> Storage adapters cache ThreatDetector URL lookups to reduce ChainPatrol API calls, with browser localStorage, extension storage, and memory options.

The [ThreatDetector](/sdk/threat-detector/overview) class is designed to be used with a cache storage adapter
to reduce the number of API calls needed to perform an asset scan. This is done by storing the
results of previous API calls in the cache and retrieving them when needed.

Depending on what environment you are using the SDK in, you may need to use the appropriate storage adapter.

## Adapters

| Adapter                  | Description                                                    |
| ------------------------ | -------------------------------------------------------------- |
| [Browser](./browser)     | Stores the cached data in the browser's local storage.         |
| [Extension](./extension) | Stores the cached data in the browser's extension storage.     |
| [Memory](./memory)       | Stores the cached data in memory. This is the default adapter. |

<Note>
  Are we missing an adapter? Feel free to reach out to us at{" "}
  [support@chainpatrol.io](mailto:support@chainpatrol.io?subject=Re:%20Custom%20Storage%20Adapter\&body=)
  and we'll be happy to discuss implementing it.
</Note>
