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 01:57:17 -07:00 committed by GitHub
parent 41a84160ec
commit 916356afad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1795 additions and 1801 deletions

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;

File diff suppressed because it is too large Load Diff