menu_book Navigation menu

Preview

The preview system lets you render content exactly as it will appear on the front-end, without saving anything to the database.

When you click Preview, the CMS does not persist data. Instead, it serializes the current editor state into a temporary JSON file stored in the cache. This file is identified by a secure, random token.

That token is then used to open a dedicated preview URL in a new tab.

From there, the system reconstructs a full page render:

  • It restores the content (Builder or Static)
  • It applies the selected template
  • It injects a realistic runtime context (site, user, language)
  • It runs the exact same rendering pipeline as production

This is not a mock. It’s the real front-end rendering, driven by temporary data.

Key properties

  • No database writes
    Preview is completely isolated. Nothing is saved unless you explicitly publish.
  • Token-based access
    Each preview session is tied to a unique token. No token = no access.
  • Time-limited
    Preview data expires automatically (default: 24 hours).
  • Language-aware
    The preview forces the correct language context, ensuring translations behave exactly as expected.
  • Template-accurate
    Your actual PHP templates are used. No duplication, no fake rendering layer.