I think what you need is a middleware which compresses the body, like this
one: https://github.com/paolochiodi/htmlcompressor
On Friday, August 8, 2014 9:05:23 PM UTC-3, Frank Tellefsen wrote:
>
> Based on https://news.ycombinator.com/item?id=8098317 (HTML minifier
> revisited) and specifically:
Nice find!
I made a similar one a while back too:
https://gist.github.com/frankie-loves-jesus/d7eec0ebab0525e94256
Feedback would be much appreciated.
Frank
2014-08-09 15:58 GMT+02:00 Gabriel Sobrinho :
> I think what you need is a middleware which compresses the body, like this
> one: https