Modes of operation

Mosaic can operate in 2 different modes

  • active
  • snapshot-file

Active updates

In active mode, content updates in real-time.

active mode content is pulled at configured intervals in real-time, as defined by mosaic.config.mjs.

Read the active configuration docs.

Static content

Consider a snapshot as a directory of static content previously pulled from your content sources, which does not update itself.

In snapshot mode, the snapshot does not update itself.

File based snapshots

In snapshot-file mode, immutable snapshots of content are loaded at startup from the local file-system.

Read the snapshot-file configuration docs.

Static export

A snapshot-file site can additionally be built as a fully-static site (out/ directory of HTML) servable from any CDN with no Node runtime.

Read the static export docs.

Mosaic BETA

Coming soon