14 January 2003, 翻訳更新: 2003/07/17

付録 J : SVG ファイルサイズの最小化

この付録は知識情報であり、正式なものではない。

This appendix is informative, not normative.

XML の恩恵と他の W3C 仕様との互換性と相乗効果を維持しつつ、 SVG ファイルサイズを可能な限り小さくするための少なからぬ努力が注がれている。

Considerable effort has been made to make SVG file sizes as small as possible while still retaining the benefits of XML and achieving compatibility and leverage with other W3C specifications.

ファイルサイズの減量を促進する SVG の特色機能のいくつかをここに挙げる:

Here are some of the features in SVG that promote small file sizes:

更に、 HTTP/1.1 はサーバからクライアントへの圧縮データ送信が可能であり、結果として多大なファイルサイズの節約となる。 SVG 文書に対する gzip 圧縮を用いたときのいくつかの圧縮結果のサンプルをここに示す:

Additionally, HTTP/1.1 allows for compressed data to be passed from server to client, which can result in significant file size reduction. Here are some sample compression results using gzip compression on SVG documents:

無圧縮 SVG gzip 圧縮 圧縮率
Uncompressed
SVG
With gzip
compression
Compression
ratio
12,912 2,463 81%
12,164 2,553 79%
11,613 2,617 77%
18,689 4,077 78%
13,024 2,041 84%

関連する論点が漸進的描画にある。一部の SVG ビューアがサポートする:

A related issue is progressive rendering. Some SVG viewers will support:

SVG ファイルのサイズ減量および利用者が SVG 文書片と対話しあえるまでの時間の縮小に利用できる技法をここに挙げる:

Here are techniques for minimizing SVG file sizes and minimizing the time before the user is able to start interacting with the SVG document fragments: