frosh / platform-html-minify
此插件向访客提供压缩后的HTML和内联JavaScript。
2.1.0
2024-09-15 15:46 UTC
Requires
- mrclay/jsmin-php: ^2.4
- shopware/core: ~6.5.0||~6.6.0
README
此插件向访客提供压缩后的HTML和内联JavaScript。
在测试中,这可以使内容减小至最多50%,启用压缩后可达30%。
您可以通过查看头部信息 X-Html-Compressor
在开发者工具中跟踪压缩。
下载
从 packagist.org 使用Composer下载
composer require frosh/platform-html-minify
存储
通过插件管理器或扩展管理器下载插件
ZIP
从发布页面下载插件,将其上传到插件管理器或扩展管理器,并启用最新版本
https://github.com/FriendsOfShopware/FroshPlatformHtmlMinify/releases/latest/download/FroshPlatformHtmlMinify.zip
安装
bin/console plugin:refresh bin/console plugin:install -c --activate FroshPlatformHtmlMinify
许可协议
MIT许可协议(MIT)。有关更多信息,请参阅许可文件。