私はweb.configでこれを達成しようとしています:
<staticContent>
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
</staticContent>
<httpCompression>
<staticTypes>
<add mimeType="image/svg+xml" enabled="true"/>
</staticTypes>
</httpCompression>
<urlCompression doStaticCompression="true" doDynamicCompression="true"/>
ただしContent-Encoding: gzip
、応答ヘッダーには表示されません。ただし、圧縮は、CSS などの他のタイプではうまく機能します。