This has been the standard way of serving assets in Rails for the last 5+ years. I don&#x27;t think it was invented there, as if you are using a CDN it&#x27;s basically required.<p>Invalidating edge caches takes time and&#x2F;or is expensive (i.e. Cloudfront), so adding the content hash in the file name is a good trick to ensure users always get the correct version of the asset.