Merge "Allow logs(-dev).o.o to serve gzipped svg files"
This commit is contained in:
commit
82a4901b58
@ -16,7 +16,7 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
|
||||
# use Apache to compress the results afterwards, to save on the wire
|
||||
# it's approx 18x savings of wire traffic to compress. We need to
|
||||
# compress by content types that htmlify can produce
|
||||
AddOutputFilterByType DEFLATE text/plain text/html application/x-font-ttf
|
||||
AddOutputFilterByType DEFLATE text/plain text/html application/x-font-ttf image/svg+xml
|
||||
|
||||
<FilesMatch \.html\.gz$>
|
||||
ForceType text/html
|
||||
@ -37,6 +37,10 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
|
||||
ForceType application/x-font-ttf
|
||||
AddEncoding x-gzip gz
|
||||
</FilesMatch>
|
||||
<FilesMatch \.svg\.gz$>
|
||||
ForceType image/svg+xml
|
||||
AddEncoding x-gzip gz
|
||||
</FilesMatch>
|
||||
<Directory <%= @docroot %>>
|
||||
Options <%= @options %>
|
||||
AllowOverride None
|
||||
|
Loading…
x
Reference in New Issue
Block a user