application/javascript mime type is missing in gzip_types
chrisch297 opened this issue · 1 comments
chrisch297 commented
I was wondering why some of my javascripts are not getting compressed and found that the application/javascript mime type is missing in gzip_types in the nginx.conf file. Can you add this type please?
TrafeX commented
Hi @chrisch297,
Thank you for the suggestion, I updates the mime types with CloudFlare's settings to gzip a lot more mimetypes;
https://github.com/TrafeX/docker-php-nginx/blob/master/config/nginx.conf#L41