[**@wocart/theme v4.1.0**](../../README)

***

[@wocart/theme](../../README) / [astro](../README) / createReadCache

# Function: createReadCache()

> **createReadCache**(): [`ReadCache`](../../index/interfaces/ReadCache)

The per-render `ReadCache`: the first call for a key
runs the loader; later calls in the same render reuse the in-flight or
settled value — including a rejection (failures are shared, not retried per
section). Scope this to ONE page render; it makes no cross-request promises.

## Returns

[`ReadCache`](../../index/interfaces/ReadCache)
