use zopfli to compress contents 

https://code.google.com/p/zopfli/