Nginx de Gzip i aktif etmek ve tarayıcı önbellekleme için bunu kullanabilirsiniz.

gzip on;
gzip_disable "MSIE [1-6]\\.(?!.*SV1)";
gzip_proxied any;
gzip_comp_level 6;
gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript image/x-icon image/bmp image/svg+xml application/atom+xml application/json application/x-font-ttf font/truetype font/opentype;
gzip_static on;
gzip_vary on;

location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc|css|js|ttf|woff)$ {
expires 30d;
access_log off;
add_header Cache-Control "public";
}