tuplejump / play-yeoman

Play + Yeoman integration sbt and play plugins
Apache License 2.0
238 stars 57 forks source link

Use `Content-Encoding:gzip` to serve static files? #73

Closed hanfeisun closed 9 years ago

hanfeisun commented 9 years ago

Is it possible for play-yeoman to serve static files using Content-Encoding:gzip?

Shiti commented 9 years ago

Playframework Assets has Gzip support (documentation). Are you referring to something else?

hanfeisun commented 9 years ago

Checked the Playframework official document about Gzip support, but play-yeoman seems another story.

Shouldn't play-yeoman use Gzip to serve static files (js, css) by default?

And would there be any document about how to use gzip encoding to serve resources within play-yeoman?

hanfeisun commented 9 years ago

Thanks! This could be closed..