docs: private boolean isTrimEnabled() {
  		String contentType = response.getContentType();
  		// If the contentType is the same string (by identity), return the previously determined value.
  		// This assumes the same string instance is returned by the response when content type not changed between calls.
  		if(contentType!=isTrimEnabledCacheContentType) {
  			isTrimEnabledCacheResult =
  				contentType==null
  				|| contentType.equals("application/xhtml+xml")
  				|| contentType.startsWith("application/xhtml+xml;")
  				|| contentType.equals("text/html")
  				|| contentType.startsWith("text/html;")
  				|| contentType.equals("application/xml")
  				|| contentType.startsWith("application/xml;")
  				|| contentType.equals("text/xml")
  				|| contentType.startsWith("text/xml;")
  			;
  			isTrimEnabledCacheContentType = contentType;
  		}
  		return isTrimEnabledCacheResult;
  	}