无法在 Firefox、Safari、IE 中打开 SVGZ 文件
Cannot open SVGZ File in Firefox, Safari, IE
我有一个 SVGZ
文件无法在 Firefox、Safari 和 IE 中打开。有谁知道为什么 SVGZ
文件无法在这些浏览器中打开?
试着看看这个线程:
听起来您可能遇到了服务器配置问题。来自用户 horatio:
Support for compressed svg will vary by browser, but you need to configure the server to properly flag the svgz file with information about its encoding to explicitly tell the browser how to decode it upon receipt.
Server response for svgz needs to be configured to include "Content-encoding: gzip"
我有一个 SVGZ
文件无法在 Firefox、Safari 和 IE 中打开。有谁知道为什么 SVGZ
文件无法在这些浏览器中打开?
试着看看这个线程:
听起来您可能遇到了服务器配置问题。来自用户 horatio:
Support for compressed svg will vary by browser, but you need to configure the server to properly flag the svgz file with information about its encoding to explicitly tell the browser how to decode it upon receipt.
Server response for svgz needs to be configured to include "Content-encoding: gzip"