> For the complete documentation index, see [llms.txt](https://ls.shopify2006.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ls.shopify2006.com/switches/9.-qi-yong-xing-neng-mo-shi.md).

# 9. 启用性能模式

### 用途

* 开启选项之后将使用压缩版代码，文件体积减小 22%，提升加载速度。
* 部分代码截图（点击查看大图，按 Esc 退出大图浏览）

![](https://29248166-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FimrmQ28Xbs4RpqXIKBtR%2Fuploads%2FwZgWUbjcLzG8t2MFEm0p%2FShopify%20JS%20%E5%8E%8B%E7%BC%A9.webp?alt=media\&token=36f0b8b7-eb8e-4fdf-a75b-911e9c2d6807)

![](https://29248166-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FimrmQ28Xbs4RpqXIKBtR%2Fuploads%2FxFbgqbYL4LzKBMnJkVY8%2FShopify%20CSS%20%E5%8E%8B%E7%BC%A9.webp?alt=media\&token=56c3158f-1cdd-4f75-9197-1b8605fe9176)

### 用法

[0. 支持一键开启和关闭的功能](/switches/0.-zhi-chi-yi-jian-kai-qi-he-guan-bi-de-gong-neng.md)
