Commands¶
Only the author of a file can command it.
deploy/scripts/storage.sh file command <cid> hot
deploy/scripts/storage.sh file delete <cid>
| Command | Effect |
|---|---|
hot |
Preheat, even if the manifest does not propagate |
cold |
Do not preheat |
stop |
Stop distribution |
rewarm |
Preheat again, for example after caches were cleared |
delete |
Remove from caches |
Commands respect the regions and start time of the policy. A deleted file can be published again with a newer manifest.
Deleting does not remove the object from the origin. Use DELETE /v1/objects/{sha} there.