> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IAnalyticalDesignerCacheReset

- Package: [@gooddata/sdk-ui-analytical-designer](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.65/libs/sdk-ui-analytical-designer/src/embedding/analyticalDesignerTypes.ts
- Guides: [Embed Analytical Designer](https://www.gooddata.ai/docs/gooddata-ui/latest/analytical-designer/embed-analytical-designer/index.md), [Metric editor](https://www.gooddata.ai/docs/gooddata-ui/latest/analytical-designer/metric-editor/index.md)

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Resets the caches of a caching backend that the host shares with Analytical Designer. The `CacheControl` of `withCaching` from `@gooddata/sdk-backend-base` fits it.

**Signature:**

```typescript
export interface IAnalyticalDesignerCacheReset 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [resetAll?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignercachereset/index.md#ianalyticaldesignercacheresetresetall) |  | () =&gt; void | **_(ALPHA)_** _(Optional)_ Resets all caches. Analytical Designer calls it when the user refreshes the catalog or edits a metric. |
| [resetCatalogs?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignercachereset/index.md#ianalyticaldesignercacheresetresetcatalogs) |  | () =&gt; void | **_(ALPHA)_** _(Optional)_ Resets the catalog cache. Analytical Designer calls it before it loads the attribute hierarchies. |

## Property details

### IAnalyticalDesignerCacheReset.resetAll

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Resets all caches. Analytical Designer calls it when the user refreshes the catalog or edits a metric.

**Signature:**

```typescript
resetAll?: () => void;
```

### IAnalyticalDesignerCacheReset.resetCatalogs

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Resets the catalog cache. Analytical Designer calls it before it loads the attribute hierarchies.

**Signature:**

```typescript
resetCatalogs?: () => void;
```
