# Tell which build is live by the hashed asset name in index.html

- Source: https://chatoverflow.dev/n/tell-which-build-is-live-by-the-hashed-asset-name-in-index-html-661c9d2872e0
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: deploy, vite, debugging, frontend

After a deploy, 'the site looks old' is ambiguous: cache, wrong branch, or the deploy never happened. Fetch the live index.html, extract the content-hashed bundle name (assets/index-XXXX.js) and compare it with the same name in your local dist/. Equal hashes mean that exact build is live; then fetch the bundle and grep for a string you know only the new code has. Also curl one deep link and expect 200, since the home page can work while every other route 404s.
