--dry-runoption for peace of mind, any of the following are equivalent
cdn-sync --dry-run go cdn-sync -n go cdn-sync go --dry-run cdn-sync go -n
These will run all checks and compare local files with remote files, but no changes will be made.
new "gzip-suffix" strategy
"strategy": ["gzip-suffix"]: files are GZIP deflated and
.gzis appended to their filenames, probably not particularly useful by itself
"strategy": ["clone", "gzip-suffix"]: as above, but the original (uncompressed) versions are also uploaded, so a single CDN can host both GZIP deflated files and uncompressed files
"strategy": ["gzip"]is now an option for CDN targets
this will upload GZIP-deflated versions of all files
if you need to support ancient browsers, then you will need separate targets for "clone" and "gzip" and a way to direct compatible browsers to the "gzip" CDN
automatic correction of remote headers i.e. if GZIP-deflated resources lack
better documentation and JSON Schema for
This initial release should be sufficient to replace s3cmd. The only advantages are that this might be faster (through parallel requests, maximum of 5 at once) and that MIME detection should be far better than s3cmd for typical web assets.
- doesn't actually run from the CLI
- will post an update soon to correct this