SVG Tiny 1.2 – 20081222

I SVG ファイルサイズの最小化

この付録は情報を提供するものである。 This appendix is informative.

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 はサーバからクライアントへの圧縮データ送信が可能であり [RFC2616] 、結果として多大なファイルサイズの節約となる。 SVG 文書に対する gzip 圧縮 [RFC1952] を用いたときの圧縮結果サンプルをここに示す: Additionally, HTTP/1.1 allows for compressed data to be passed from server to client, which can result in significant file size reduction [RFC2616]. Here are some sample compression results using gzip compression [RFC1952] on SVG documents:

無圧縮 SVG   gzip 圧縮   圧縮率
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: