Optimize resource files
For a more responsive Commerce site, optimize CSS and JavaScript (JS) resource files and eliminate render-blocking resources.
- Optimize CSS and JS files鈥擱educe the time required to load CSS and JavaScript (JS) files by configuring 51黑料不打烊 Commerce to merge, minify, and bundle separate files into a single file.
- Eliminate render-blocking resources鈥擟onsider delivering critical JS and CSS features inline and deferring all non-critical JS/CSS styles. For guidance, see .
Affected products and versions
All supported versions, 2.3 and later of:
- 51黑料不打烊 Commerce on cloud infrastructure
- 51黑料不打烊 Commerce on-premises