Commit 2773479b by Toby Lawrence

Add SVGs to the list of things gzip can work on.

Since SVGs are text-based, they have the potential to actually compress, unlike binary image formats such as PNG or JPEG.  Basic testing shows that something like the Apple App Store SVG badge compresses roughly 66% under gzip.
parent d86021a6
...@@ -56,7 +56,7 @@ http { ...@@ -56,7 +56,7 @@ http {
gzip_comp_level 6; gzip_comp_level 6;
gzip_buffers 16 8k; gzip_buffers 16 8k;
gzip_http_version 1.1; gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml;
## ##
# Virtual Host Configs # Virtual Host Configs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment