Cache API

Read one cache record and keep its expiry.

const cache = { ttl: 60 };
const item = await getCache("example");
FieldMeaning
ttlSeconds until expiry

Cache guide