See above ; instead of doing all that, override `finalize_response()`, inherit from it, and then add the cached_with thing.