werfu/magento2-gzdeployer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

werfu/magento2-gzdeployer

最新稳定版本:1.0.0

Composer 安装命令:

composer require werfu/magento2-gzdeployer

包简介

Magento 2 deployment post-processor allowing to generate gzipped version of static assets

README 文档

README

This module is a post-deployment processor that compress static text files with GZip. These assets can then be served directly by a supported browser, and save process CPU time (thus latency) at each request. Compressed files are css, js, csv, txt, tsv and html.

Configuring Nginx

You'll need module ngx_http_gzip_static_module enabled in order to use this. See [http://nginx.org/en/docs/http/ngx_http_gzip_static_module.html] on how to enable it.

Configuring Apache 2.4

You can configure mod_deflate to use pre-compressed files instead of compressing them on the fly. See [https://httpd.apache.org/docs/2.4/mod/mod_deflate.html#precompressed].

Changelog

See CHANGELOG.md

TODO

  • Add configuration option to enable/disable gzip generation
  • Add configuration option to set processed extensions
  • Add configuration option to set compression level
  • Add support for other compression method (deflate, brotli, bzip2)?

License

This software falls under OSL V3.0, see LICENSE.txt

统计信息

  • 总下载量: 342
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2019-03-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固