I can't really update to HTTP/2 yet, so I'm still playing with Gzip compression.
I'm using WHM/cPanel, and the default compression level is set to 6 (out of a possible 0-9). But the explanation is kind of vague:
The level of compression to use (0 is faster but less compression, 9 is slower but provides maximum compression)
Can you guys suggest what gains or losses there might be to change this to a higher or lower number than 6? Would a level of 9 mean that the CPU works the hardest, but bandwidth usage is the lowest?
Further, is there any reason to compress images, or should I just stick with
text/html,
text/plain and
text/xml (I'm guessing that
text/plain would cover js and css)? My sites mostly use compressed PNGs, but there are some JPGs and GIFs.