cache entire response instead of just body
set headers within _render
Merge pull request #782 from fangeugene/caching

Cache entire response instead of just the content of the body