At the moment the framework always tries to set the etag based on the response body. This is expensive.
Ready for review.
Feels a little clunky, but the generation of ETags is something to be handled through the configuration type.
https://github.com/facebook/tornado/commit/619bbf7c00775286b92f47fce85b2314dd8f85c8 one day after this issues was created