Explorar o código

added question

Gildas %!s(int64=6) %!d(string=hai) anos
pai
achega
9c27a8326c
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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.