Magento for B2B Commerce, 2.2.x

Magento 2.2.x Notice: As outlined by the Magento Software Lifecycle Policy, Magento 2.2.x has reached the End-of-Support and will no longer receive quality fixes or documentation updates. To maintain your site's performance, security, and PCIPayment Card Industry: Refers to debit and credit cards and their associated businesses. compliance, upgrade to the latest version of Magento.

The online Magento 2.2.x User Guide is scheduled for removal, but will remain available in PDF for Open Source, Commerce, and Commerce for B2B.

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.