Use maximum gzip compression (#1126)

* Use maximum gzip compression

* Revert extra changes

* Remove extra code used when testing brotli compression

* Remove extra space on unrelated changes
This commit is contained in:
Phil Bolduc
2020-08-31 10:57:17 +02:00
committed by GitHub
parent 41a84160ec
commit 916356afad
2 changed files with 1795 additions and 1801 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ function writeHtmlGzipped(sourceFile, resultFile) {
}
html = adoptVersionAndRepo(html);
zlib.gzip(html, function (error, result) {
zlib.gzip(html, { level: zlib.constants.Z_BEST_COMPRESSION }, function (error, result) {
if (error) {
console.warn(error);
throw error;
+1794 -1800
View File
File diff suppressed because it is too large Load Diff