def inheritable_cache_set(formats, name, partial, param, prefix)
      formats.each do |format|
        # assign hash default values to respective key 
        inheritable_cache[format.to_sym] = hf = inheritable_cache[format.to_sym]
        hf[partial] = hp = hf[partial]
        hp[name] = hn = hp[name]
        # finally store prefix in the deepest hash
        hn[param] = prefix
      end
    end
def inheritable_cache_set(formats, name, partial, param, prefix)
      formats.each do |format|
        # assign hash default values to respective key 
        inheritable_cache[format.to_sym] = hf = inheritable_cache[format.to_sym]
        hf[partial] = hp = hf[partial]
        hp[name] = hn = hp[name]
        # finally store prefix in the deepest hash
        hn[param] = prefix
      end
    end
Stores the found prefix in the cache.