class Sprockets::Cache
def initialize(cache = nil, logger = self.class.default_logger)
use Environment#cache to retreive a wrapped interface.
Always assign a backend cache store instance to Environment#cache= and
Internal: Wrap a backend cache store.
def initialize(cache = nil, logger = self.class.default_logger) @cache_wrapper = get_cache_wrapper(cache) @fetch_cache = Cache::MemoryStore.new(1024) @logger = logger end