Add "text/javascript" to compressible MIME types

Based on the HTML Standard, https://html.spec.whatwg.org/multipage/scripting.html#scriptingLanguages, servers _should_ use `text/javascript`.
This commit is contained in:
Michael Stramel 2019-06-05 21:40:16 -05:00 committed by Michael Stramel
parent 78d6ce6e6e
commit 686f2310e4
3 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@
"enableDynamicTlsRecords": true,
"enableSpdy": false,
"errorLogLevel": "notice",
"gzipTypes": "application/atom+xml application/javascript application/x-javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/svg+xml image/x-icon text/css text/plain text/x-component",
"gzipTypes": "application/atom+xml application/javascript application/x-javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/svg+xml image/x-icon text/css text/javascript text/plain text/x-component",
"hsts": true,
"hstsIncludeSubdomains": true,
"hstsMaxAge": "15724800",