Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Enable GZIP compression on Play Framework 1 app on Heroku Cedar?

I'd like to enable GZIP compression for public assets and HTTP responses for performance. My site has a lot of mobile access.

As far as I can tell, there is nothing built into Play Framework to support this, and Heroku doesn't seem to have a solution either.

What is the best way to start getting some compression on my app?

like image 260
Daniel Alexiuc Avatar asked May 28 '12 00:05

Daniel Alexiuc


1 Answers

Check out: https://gist.github.com/1317626

like image 162
James Ward Avatar answered Oct 01 '22 17:10

James Ward