настройка Gzip для js скриптов
Posted: Thu Jun 18, 2015 8:12 pm
Замечено что js файлы не сжимаются в nginx. Настройки по умолчанию выставлены. Подскажите что в gzip_types прописывать?
Community Forum
https://forum.vestacp.com/
Code: Select all
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml application/x-font-ttf font/opentype;
Code: Select all
gzip_types text/plain text/css text/javascript
application/x-javascript;