We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
SVGZ
只是一个 gzip 压缩的SVG
,请参阅 这个。注意:并非所有浏览器都支持
SVGZ
。您的 HTTP 服务器可能会使用 deflate 来压缩其响应,这具有相同的性能。SVGZ
is just a gzippedSVG
, see this.Note: Not all browser support
SVGZ
. Your HTTP server may probably compresses its response with deflate, which have the same performance.由于 SVG 只是纯文本,您可以以压缩格式从服务器发送它。
在 Apache 上启用 Gzip 压缩
查看gzip/deflate 压缩适用于您的特定 http 服务器,目前浏览器中对压缩的支持非常好。
As SVG is just plain-text you are able to send it from your server in a compressed format.
Enable Gzip Compression on Apache
Look into gzip/deflate compression for your particular http server, the support for compression in browsers is very good at the moment.
此外,SVGZ 文件无法通过 Firefox 19.0.2 或 IE 9.0.8112 在本地打开,但 Google Chrome 可以。这并不一定会影响人们通过你的浏览器查看它,因为如果你设置了正确的 mime 类型,它应该可以工作,但是如果他们下载了它,他们将无法定期打开它(当然,直到他们取消 gzip 压缩) 。
Also SVGZ files cannot be opened locally by Firefox 19.0.2 or IE 9.0.8112, however, Google Chrome can. This doesn't necessarily effect people viewing it through your browser since it ought to work if you set the right mime-type, but if they download it they will not be able to open it regularily (until they un-gzip it of course).