Skip to content

Commit

Permalink
gzip compressible type: text/event-stream (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
sullis authored Feb 13, 2023
1 parent 0450e5a commit b049274
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ public class GZipResponseFilter extends HttpOutboundSyncFilter
private static DynamicStringSetProperty GZIPPABLE_CONTENT_TYPES = new DynamicStringSetProperty("zuul.gzip.contenttypes",
"text/html,application/x-javascript,text/css,application/javascript,text/javascript,text/plain,text/xml," +
"application/json,application/vnd.ms-fontobject,application/x-font-opentype,application/x-font-truetype," +
"application/x-font-ttf,application/xml,font/eot,font/opentype,font/otf,image/svg+xml,image/vnd.microsoft.icon",
"application/x-font-ttf,application/xml,font/eot,font/opentype,font/otf,image/svg+xml,image/vnd.microsoft.icon," +
"text/event-stream",
",");

// https://webmasters.stackexchange.com/questions/31750/what-is-recommended-minimum-object-size-for-gzip-performance-benefits
Expand Down

0 comments on commit b049274

Please sign in to comment.