ghislainphu / spress-gzip-static
创建您Spress编译文件的gzip版本。
0.1.1
2016-05-21 13:14 UTC
Requires
- spress/spress-installer: 2.0.*
This package is not auto-updated.
Last update: 2024-09-26 01:20:22 UTC
README
Spress插件,用于创建编译文件的gzip版本。
此插件旨在与NGINX的gzip_static模块一起使用。
入门
运行
composer require ghislainphu/spress-gzip-static
将这些行添加到您的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
许可
此项目采用MIT许可。
有关更多信息,请参阅LICENSE.md。