Vaadin app performance ....

I have a simple touckit app and when I use Google’s PageSpeed Insights I get a score of

PageSpeed tells me that the app needs to enable compression to reduce transfer size. How do I enable compression?

It also ask to eliminate render-blocking JavaScript and CSS in above-the-fold content and to Optimize CSS Delivery of the following: How do I perform this?

also how do I set minify=true?

This blog post gives quite nice explanation how setup yours servlet container to get better transfer performance at top level. There is also some Touchkit related hooks to make transfer faster