title: File compression library for Java
body: <p>I am building a Http server.</p>
  
  <p>My server's primary task is to respond a request(most times texts, sometimes images) with about 50 thumbnails(10kb each, jpeg), and some String(about 150 characters).</p>
  
  <p>To reduce latency I am thinking of compressing the thumbnail and the text together as a file.</p>
  
  <p>Could you recommend me a good compression library for Java that excels in compressing both text and image that does not exceed 1mb in total?(I guess size if my primary concern because of my server's low bandwidth. But it has a very good hardware, so compression speed is secondary)</p>