The file getting created by my app is xyz.zip file. How do I know that jetty compression is enabled? Or do I need to do anything else apart from config changes?
Joined: Jun 21, 2001
I found the answer to my question.It's pretty simple.
The Jetty compression is pretty powerful and can be used to send the large data to the end client in compressed format so that less bandwidth is utilized "over the wire", but at a cost of memory and CPU cycles.
In order to use the Gzip Filter provided by Jetty server add below configuration in web.xml