Gzip and browser caching in Hummingbird

I don’t understand how to enable Gzip for text/javascript and browser caching for NGINX. Thank you.