Wocart

@wocart/theme v4.1.0


@wocart/theme / astro / createReadCache

Function: createReadCache()

createReadCache(): 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