浏览代码

added question

Gildas 6 年之前
父节点
当前提交
9c27a8326c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      faq.md

+ 3 - 0
faq.md

@@ -26,3 +26,6 @@ The default configuration of SingleFile is optimized to produce small pages. Thi
 You can also disable the options below. Some resources (e.g. images, frames) on the page may be missing though.
  - HTML content > remove frames
  - Images > save deferred images
+
+## Why pages saved with SingleFile weight more than uncompressed MAFF files?
+To integrate them into the HTML file, all binary resources such as images or fonts are transformed into [data URIs](https://en.wikipedia.org/wiki/Data_URI_scheme). These URIs allow the binary content to be encoded in[base64](https://en.wikipedia.org/wiki/Base64) and to be stored as text in the HTML file. When encoded in base64, a binary resource will weigh about 33% more. This overload also has an impact on the size of the saved page.