From Source To Private Preview
A preview isn't a draft render. It's the finished release, served privately. This page follows a directory from your machine to a preview URL.
1. Upload
The CLI scans the directory and uploads each binary file by its SHA-256 hash, so bytes FOLD already has aren't sent again. It then submits the text files and the list of media as one snapshot.
From a draft, there's nothing to upload. FOLD pins the source of the revision you asked for, and later edits to the draft don't touch it.
2. Record
FOLD stores the snapshot under a new release ID and records the release as queued. The response comes back at once with the release ID and a preview URL. The URL carries a grant that lasts one hour.
3. Build
A build job compiles the snapshot. It checks every file, renders each page into its published forms, generates image variants, and writes the results to storage under names derived from their content. A body that's already stored isn't written again.
If a file fails validation, the release becomes failed and carries a diagnostic that names the problem. Otherwise it becomes ready. A ready release is never changed.
4. Serve
A request to the preview URL is checked against its grant, then answered from the release's stored files. They are the files visitors get if you publish. A form post to a preview is validated against that release and stores nothing.
Why It Matters
Because the build happens before the preview, publishing has nothing left to build. What you checked is what goes live. Activation and rollback
Next: Editorial review