Using the fact that the Java Deflater/Inflater API now supports ByteBuffers as of Java 11, we can provide performance benefits equivalent to the Velocity 1.0.x native compression on servers running Java 11+ on non-macOS and non-Linux platforms (such as Windows).