Coming soon

# Direct publishing: send only what changed

## Coming soon to CCMS Admin: direct publishing sends only the files that changed. Your computer sends them straight to CCMS Hosting, where each file is checked against its fingerprint before it is stored. What goes live is exactly what you built.

[Get started](https://ccms.build/build-with-ai/)

## 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.

[How publishing works today](https://ccms.build/admin/publishing-hosting/)

## Questions and answers

### Can I use direct publishing today?

Not yet. It is built and has been tested in the CCMS test environment, but it is not switched on in production. Today, publishing to CCMS Hosting works as described on [Publishing and hosting](https://ccms.build/admin/publishing-hosting/).

### Will I need to change how I publish?

No. You need a CCMS Core version that supports direct publishing, and that version asks for it on its own when you publish. There is nothing to switch on. If CCMS does not offer it, or your site uses an older CCMS Core version, publishing works the way it does today.

### Does direct publishing skip any of the checks made today?

No. Before any file is sent, Admin makes the same checks as it does today, such as who you are, whether you have read and edit access to the site and whether the project has CCMS Hosting. The upload program then checks the same SHA-256 fingerprint of each file that Admin checks today.
