ghislainphu/spress-gzip-static
Composer 安装命令:
composer require ghislainphu/spress-gzip-static
包简介
Creates a gzipped version of your Spress compiled files.
README 文档
README
Spress plugin to create a gzipped version of your compiled files.
This plugin is intended to be used in conjunction with NGINX's gzip_static module.
Getting Started
Run:
composer require ghislainphu/spress-gzip-static
Add these lines to your config.yml:
# Empty by default gzip_static_extensions: [ html, css, js, xml, txt ] # Excluded files (optional) # gzip_static_exclude: [ rss.xml ] # Compression Level (optional, default: -1) # See: https://secure.php.net/manual/function.gzencode.php # gzip_static_compression_level: 6
License
This project is licensed under the MIT License.
See LICENSE.md for more informations.
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-21