Class: Merb::Cache::SHA1Store

Class | Merb::Cache::SHA1Store
In: | lib/merb-cache/stores/strategy/sha1_store.rb
Parent: | AbstractStrategyStore

Strategy store that uses SHA1 hex of base cache key and parameters as cache key.

It is good for caching of expensive search queries that use multiple parameters passed via query string of request.

### Methods

delete delete_all! digest exists? fetch new read writable? write write_all

### Public Class methods

new(config = {})

### Public Instance methods

delete(key, parameters = {})
delete_all!()
digest(key, parameters = {})
exists?(key, parameters = {})
fetch(key, parameters = {}, conditions = {}, &blk)
read(key, parameters = {})
writable?(key, parameters = {}, conditions = {})
write(key, data = nil, parameters = {}, conditions = {})
write_all(key, data = nil, parameters = {}, conditions = {})

[Validate]