# File lib/sprockets/caching.rb, line 7
    def cache_get(key)
      # `Cache#get(key)` for Memcache
      if cache.respond_to?(:get)
        cache.get(key)

      # `Cache#[key]` so `Hash` can be used
      elsif cache.respond_to?(:[])
        cache[key]

      # `Cache#read(key)` for `ActiveSupport::Cache` support
      elsif cache.respond_to?(:read)
        cache.read(key)

      else
        nil
      end
    end