Why does Astro Build ID exist?
To provide a simple, reliable way to identify which build is currently deployed, especially on static sites behind CDNs.
Astro & Deployments
Clear answers explaining how Astro Build ID identifies deployed builds safely and deterministically.
To provide a simple, reliable way to identify which build is currently deployed, especially on static sites behind CDNs.
ISO timestamps (default), Unix timestamps, and a short deterministic identifier.
Yes. You can configure a custom filename, such as health.txt or version.txt.
Yes. If a value is provided explicitly, it is written verbatim and overrides any format.
Yes. The output is static and can be cached indefinitely by CDNs.
A warning is logged, the build continues, and the site is not broken.
No. It never runs at runtime and introduces zero overhead.
Yes. Astro Build ID is released under the MIT license.
Want to try it yourself? Astro Build ID plugin or Astro Build Info plugin or Astro Status plugin
Need a deterministic way to identify deployed builds?