TypeScript API / @contentia/astro/live / LiveCacheOptions
Interface: LiveCacheOptions
Properties
lastModified?
ts
lastModified?: boolean;Send updatedAt as the cache hint's lastModified. Defaults to true.
tags?
ts
tags?: (context) => string[];Cache tags for an entry. Defaults to ['contentia', 'contentia:<collection>', 'contentia:<key>'].
Parameters
| Parameter | Type |
|---|---|
context | { collection: string; key: string; } |
context.collection | string |
context.key | string |
Returns
string[]