frosh/platform-html-minify

此插件向访客提供压缩后的HTML和内联JavaScript。

安装次数: 28,935

依赖关系: 0

建议者: 0

安全性: 0

星标: 10

关注者: 3

分支: 3

开放问题: 1

语言:HTML

类型:shopware-platform-plugin

2.1.0 2024-09-15 15:46 UTC

This package is auto-updated.

Last update: 2024-09-15 15:46:12 UTC


README

Software License

此插件向访客提供压缩后的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)。有关更多信息,请参阅许可文件