Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static_handler_locations支持nginx的gzip_static模块类似功能 #50

Open
fdreamsu opened this issue Apr 17, 2019 · 0 comments
Open

Comments

@fdreamsu
Copy link

nginxgzip_static模块的功能是在访问一个文件foo.bar时,先检查同目录下是否存在foo.bar.gz,若存在且客户端支持gzip encoding的话就直接返回这个 .gz 文件,这是一个很方便的功能,可以节约带宽且无需每次都压缩。
希望swoole新版本中在配置 static_handler_locations 的同时可以配置是否开启gzip_static

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant