Content Hash - CI/CD Glossary Definition
A content hash is derived from a file contents and used in its filename so identical builds produce identical names.
A content hash is a hash computed from a file contents, used in output filenames so the name changes if and only if the content does. Webpack exposes it as the [contenthash] placeholder.
Unlike a per-build hash, a content hash stays stable when a file is unchanged, maximizing cache reuse across deploys. It is the foundation of cache busting and long-term caching. In CI, deterministic content hashes also make builds reproducible.
Related guides
Asset Hashing - CI/CD Glossary DefinitionAsset Hashing: Asset hashing embeds a content-derived hash in output filenames (for example `app.3f9a1c.js`)…
Cache Busting - CI/CD Glossary DefinitionCache Busting: Cache busting forces clients to download a new version of a file by changing its URL, usually…
Long-Term Caching - CI/CD Glossary DefinitionLong-Term Caching: Long-term caching is serving static assets with a far-future cache lifetime so browsers re…