How It Works
When you update an existing site, SimpleHost compares SHA-256 hashes of each file against the previous version. Files that haven’t changed are copied server-side — no re-upload needed. This makes updates fast, even for large sites with hundreds of files.The Flow
1
Send manifest with hashes
Include the
hash field for each file in your update request:2
API compares hashes
The API checks each file’s hash against the same file path in the previous version.
3
Matching files are skipped
Files with identical hashes appear in the
skipped array — they’re copied internally, no upload needed.4
Upload only changed files
Only files in the
uploads array need to be uploaded.Example Response
If you update a site where onlyindex.html changed:
Computing Hashes
The hash must be a SHA-256 hex digest (64 lowercase hex characters).macOS
Linux
Node.js
Python
Without Hashes
If you omit thehash field, every file is treated as new and must be uploaded. Always include hashes when updating to get the performance benefit.