Commit 78295f4e authored by Matija Obreza's avatar Matija Obreza
Browse files

GzipFilter: disabled filter because it buffers the entire response in memory

parent 16308995
......@@ -148,8 +148,8 @@ public class WebInitializer extends AbstractAnnotationConfigDispatcherServletIni
// GZip filter configuration
final FilterRegistration.Dynamic gZIPFilter = servletContext.addFilter("gZIPFilter", GzipFilter.class);
gZIPFilter.addMappingForUrlPatterns(null, false, "/html/*");
gZIPFilter.addMappingForUrlPatterns(null, false, "/sitemap*");
gZIPFilter.addMappingForUrlPatterns(null, false, "/api/*");
// gZIPFilter.addMappingForUrlPatterns(null, false, "/sitemap*");
// gZIPFilter.addMappingForUrlPatterns(null, false, "/api/*");
}
@Override
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment