From 30419eb13e9273654910889f0f967100044715a0 Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Wed, 15 Feb 2023 20:01:19 +0100 Subject: [PATCH 1/2] fix: Mark text/x-component as compressible --- HISTORY.md | 1 + db.json | 1 + 2 files changed, 2 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 9edbecdc..8c1f8f9b 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -11,6 +11,7 @@ unreleased * Fix extensions for `text/markdown` to match IANA * Remove extension `.mjs` from `application/javascript` * Remove obsolete MIME types from IANA data + * Mark `text/x-component` as compressible 1.52.0 / 2022-02-21 =================== diff --git a/db.json b/db.json index 966b7f43..2917ec3e 100644 --- a/db.json +++ b/db.json @@ -8305,6 +8305,7 @@ }, "text/x-component": { "source": "nginx", + "compressible": true, "extensions": ["htc"] }, "text/x-fortran": { From d5e65a09cbf6c339937742693abdd9d489fa8c9a Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Wed, 15 Feb 2023 21:25:44 +0100 Subject: [PATCH 2/2] update type and sources --- src/custom-types.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/custom-types.json b/src/custom-types.json index f95ffdfc..5041881d 100644 --- a/src/custom-types.json +++ b/src/custom-types.json @@ -861,6 +861,14 @@ "https://tools.ietf.org/html/draft-pantos-http-live-streaming-13" ] }, + "text/x-component": { + "compressible": true, + "sources": [ + "https://learn.microsoft.com/en-us/previous-versions//ms531018(v=vs.85)", + "https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/bb742440(v=technet.10)", + "https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html" + ] + }, "text/x-gwt-rpc": { "compressible": true },