olebedev / go-starter-kit

[abandoned] Golang isomorphic react/hot reloadable/redux/css-modules/SSR starter kit
Other
2.82k stars 359 forks source link

Static files gzip compression? #87

Open iKonrad opened 7 years ago

iKonrad commented 7 years ago

Hey. I'm trying to set up gzip compressed js files. How would you go around that?

Echo has a gzip middleware, which works fine for HTML content, but when my app tries to fetch bundle.js, it returns an err_content_length_mismatch error. Any idea what would be the proper way to do that?