myronmarston/vcr — pull request #176 by alvarobp (2012-06-19 22:58:27+00:00)
Title: New filesystem persister using Gzip to compress cassettes

VCR cassettes might take up relative large amounts of disk space (e.g. applications with extensive communication in a SOA). In those cases being able to compress the cassettes would be nice.

Using this new persister I managed to lower the total space used by the cassettes from 15MB to 1.6MB. This ratio might vary, however I think allowing to reduce the weight by at least nine times in some cases might be a nice feature to have.

Two assumptions have been made:

- The persister is "registered" by default [https://github.com/alvarobp/vcr/pull/new/file_system_gzipped#L0R6]
- The new persister delegates storage_location to the FileSystem persister by default [https://github.com/alvarobp/vcr/pull/new/file_system_gzipped#L3R59]