All shards are in append mode.
Added cache mode.
Merge pull request #1 from mcollina/caching-support

Caching support