Where it stands today

Direct publishing is built in CCMS Admin and CCMS Core and has been tested in the CCMS test environment. It is not switched on in production, and it is not part of the current CCMS Core beta. It is built for a later release. Until then, publishing to CCMS Hosting works as it does today.

Only what changed is sent

When you publish, CCMS Core sends Admin a list of every file in the build, with the path, size and fingerprint of each. Admin asks CCMS Hosting which of those files it does not have yet, and only those are sent. A small change means a small upload. The files go straight from your computer to CCMS Hosting, without passing through the CCMS Admin servers. If a publish is interrupted, the next run of the same build continues the same publication and sends only what is still missing.

Every file checked by its fingerprint

A fingerprint is a SHA-256 hash calculated from the exact content of a file. Before anything is stored, a CCMS upload program compares each file with the fingerprint and size in the list. If they do not match, the files are refused and publishing stops with a clear message. Nothing new goes live, and your current site stays as it is.

The keys stay with CCMS

The key to the hosting account never leaves CCMS. Your computer gets a sealed ticket for each batch of files. Only Admin and the upload program can open it, and it names exactly which files the batch may hold. If someone else gets a ticket, it can only send the same correct files again. Tickets are short-lived. CCMS Core keeps them in memory only and never writes them to a log or a file.

A safe switch to the new version

Your site moves to the new version only when CCMS has confirmed that every file is in place. If a file is still missing, CCMS asks for it first, and the live site is not affected. For five minutes after the switch, CCMS Hosting is built to check that each page comes from the new version. If it does not yet, the visitor gets the version that was live just before.

Questions and answers