> ## Documentation Index
> Fetch the complete documentation index at: https://patch.codemagic.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How delivery works

> How manifests and artifacts are stored and delivered to the SDK, including CDN paths.

For what the server runs, and when to move Postgres, storage, or downloads off one host, see [Infrastructure](/docs/setup/infrastructure). CDN settings: [Cloudflare and CloudFront](/docs/reference/cdn). Most installs use the defaults from [Install](/docs/install).

The SDK reads these objects under your download base URL:

```text
<downloadBaseUrl>/<deploymentKey>/meta.json
<downloadBaseUrl>/<deploymentKey>/<binaryVersion>/manifest.json
<downloadBaseUrl>/<deploymentKey>/<binaryVersion>/<runningPackageHash>/manifest.json
```

- The manifest carries the full bundle URL and, when available, a binary patch URL. The SDK prefers the smaller patch and automatically falls back to the full bundle if the patch download or apply fails.
- Bundle file names: iOS `main.jsbundle`, Android `index.android.bundle`.
- The Silo bucket (`codemagic-patch`) allows public reads of published artifacts but denies public reads under the `_internal/*` prefix (staged uploads).
