Magento for B2B Commerce, 2.2.x
Using Static File Signatures

Adding a digital signature to the URLUniform Resource Locator: The unique address of a page on the internet. of static filesThe collection of assets, such as CSS, fonts, images, and JavaScript that is used by a theme. makes it possible for browsers to detect when a newer version of the file is available. Static files that can be tracked with digital signatures include JavaScriptA scripting language used with HTML to produce dynamic effects and interactions on web pages., CSSCascading Style Sheets: A style sheet language that controls the appearance of HTML documents; a way to control the appearance of text, graphics, lists, links, and all other elements on a web page., images, and fonts. The signature is appended to the path directly after the base URL. If a file’s signature differs from what is currently stored in the browser’s cache, then the newer version of the file is used.

For technical information, see Static content signing in the developer documentation.

The Static File Settings configuration is available only when working in developer mode.

To enable signed static files:

1. On the Admin sidebar, tap Stores. Then under Settings, choose Configuration.
2. In the panel on the left under Advanced, choose Developer.
3. Expand the Static Files Settings section.
4. Set Sign Static Files to “Yes.”
5. When complete, tap Save Config.