gzip handling
Fixed cache handling: Time.zone.parse -> Time.parse
There's no reason to cache the compressed document, cache the uncompressed one instead
removed debugging