diff --git a/README.md b/README.md index 0bdfa84..ee7950d 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ Solid Cache supports these options in addition to the standard `ActiveSupport::C - `cluster` - a Hash of options for the cache database cluster, e.g `{ shards: [:database1, :database2, :database3] }` - `clusters` - and Array of Hashes for multiple cache clusters (ignored if `:cluster` is set) - `active_record_instrumentation` - whether to instrument the cache's queries (default: `true`) -- `clear_with` - clear the cache with `:truncate` or `:delete` (default `truncate`, except for when Rails.env.test? then `delete`) +- `clear_with` - clear the cache with `:truncate` or `:delete` (default `truncate`, except for when `Rails.env.test?` then `delete`) - `max_key_bytesize` - the maximum size of a normalized key in bytes (default `1024`) For more information on cache clusters see [Sharding the cache](#sharding-the-cache)