nginx fastcgi web.py When building a website, gzip can only compress static resources?
Does the html returned by web.py need to be manually gziped in the code?
为情所困2017-05-16 17:27:41
The HTML returned by py can also be compressed. Just enable gzip directly in nginx and specify the type
Reference: http://nginx.org/en/docs/http/ngx_http_gzip_module.html#gzip_types