Make caching easier for non-memory caches.

I'd say you should probably still get rid of the Zlib usage and just call `String#hash`, but that's up to you, and I left it untouched in this PR. Caching as per the new instructions doesn't depend on `Request#hash` being consistent anymore, and nobody should have been expecting that behavior in the past either.