function getShowPublicSiteCached
getShowPublicSiteCached(): boolean

Get the "show public site" setting synchronously from cache. Returns false if the cache is not populated or the setting is not "true". Safe to call from synchronous template code after the settings cache is warmed.

Return Type

boolean

Usage

import { getShowPublicSiteCached } from "docs/database.ts";