class UICache (View source)

The UI cache is the cache of the main Automad object including private pages that are only accessible when a user is logged in.

Methods

static object
get()

Restore Automad object including private pages from cache or create a new version and write it to the cache if outdated.

static object
rebuild()

Force a rebuild of the UI cache.

Details

static object get()

Restore Automad object including private pages from cache or create a new version and write it to the cache if outdated.

Return Value

object the Automad object

static object rebuild()

Force a rebuild of the UI cache.

Return Value

object The fresh Automad object