Brotli加速的安装使用

阅读:986 2023-05-12 23:45:31

留意事项

只支持 HTTPS

 

装置

github.com/google/ngx_brotli

cd ../ngx_brotli && git submodule update –init

 

测试

curl -s -I -H ‘Accept-Encoding: br,gzip,deflate’ wiki2.dogeow.com

 

遇到问题?

 

the HTTP rewrite module requires the PCRE library#

apt-get install libpcre3-dev

 

SSL modules require the OpenSSL library

apt-get install openssl libssl-dev

分享到:
上一篇: PHP小技巧
相关文章
{{ v.title }}
{{ v.description||(cleanHtml(v.content)).substr(0,100)+'···' }}
你可能感兴趣
推荐阅读 更多>
推荐商标

{{ v.name }}

{{ v.cls }}类

立即购买 联系客服