From ea1e8d5cc506cf773a7427af5b9cb51a77e36b11 Mon Sep 17 00:00:00 2001 From: Pavlo Tkach <3469726+ptkach@users.noreply.github.com> Date: Thu, 27 Feb 2025 17:52:10 -0500 Subject: [PATCH] Add console gzip compression to js,css and html files (#2696) --- jetty/src/main/jetty-base/start.d/gzip.ini | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 jetty/src/main/jetty-base/start.d/gzip.ini diff --git a/jetty/src/main/jetty-base/start.d/gzip.ini b/jetty/src/main/jetty-base/start.d/gzip.ini new file mode 100644 index 000000000..cfaae3df6 --- /dev/null +++ b/jetty/src/main/jetty-base/start.d/gzip.ini @@ -0,0 +1,9 @@ +# --------------------------------------- +# Module: gzip +# Enables gzip compression of the following mime types +# --------------------------------------- + +--module=gzip + +jetty.http.gzip.minGzipSize=200 +jetty.http.gzip.includedMimeTypes=text/html,text/css,text/javascript,application/javascript,application/json,image/svg+xml