public class HtmlMinifyFilter
Enable html minification. All unnecessary white space will be removed from html, inline CSS and inline JS. This should
serve to provide some reduction in byte size of the response. This is a suggested pagespeed optimization from Google.
The drawbacks of this filter include: a slight expense in processing the response payload, and the page response is
kept entirely in memory to facilitate processing before responding to the caller (usually the http response can be (is) pushed
back incrementally to avoid keeping the entire page contents in memory).
The filter is disabled by default. Activate by including this property declaration in your Spring environment property