@maxhealth.tech/prefab / mcp / DEFAULT_VIEWER_CACHE
Variable: DEFAULT_VIEWER_CACHE
ts
const DEFAULT_VIEWER_CACHE: Required<McpCacheHint>;Defined in: mcp/resource.ts:159
Default cache hint for the viewer resource.
The HTML is a pure function of this package's VERSION (the CDN base pins the exact version), so it cannot change for a given server build — it is safely shared-cacheable. Without this the SDK falls back to the conservative { ttlMs: 0, cacheScope: 'private' } and the viewer is re-fetched every time.