module Sprockets::Caching

def cache_get_hash(key, version)

def cache_get_hash(key, version)
  hash = cache_get(cache_key_for(key))
  if hash.is_a?(Hash) && version == hash['_version']
    hash
  end
end