class Sprockets::Environment

def find_asset(path, options = {})

Cache `find_asset` calls
def find_asset(path, options = {})
  options[:bundle] = true unless options.key?(:bundle)
  # Ensure inmemory cached assets are still fresh on every lookup
  if (asset = @assets[cache_key_for(path, options)]) && asset.fresh?(self)
    asset
  elsif asset = index.find_asset(path, options)
    # Cache is pushed upstream by Index#find_asset
    asset
  end
end