# refreshInfiniteCache

Refetches the infinite row model's cache. Prepare updated server conditions and the data provider first.

Canonical: https://grid.syidax.com/docs/methods/refreshInfiniteCache/

<a id="meaning"></a>

## What does this API do?

Refetches the infinite row model's cache. Prepare updated server conditions and the data provider first.

<a id="contract"></a>

## Exact input and result types

```typescript
refreshInfiniteCache(): Promise<void>
```

| Arguments | Required | Type |
| --- | --- | --- |

The return type is `Promise<void>`.

<a id="usage"></a>

## Usage flow

After registering and initializing the Grid element, call grid.refreshInfiniteCache(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

<a id="recipes"></a>

## Feature explanations and examples

- [Request only needed blocks](https://grid.syidax.com/docs/features/infinite-row-model.md) — When downloading every order at once is impractical, request only the ranges needed for scrolling. datasource supplies data based on starting and ending rows and search conditions.
