module ActionView::CollectionCaching

def will_cache?(options, view)

def will_cache?(options, view)
  options[:cached] && view.controller.respond_to?(:perform_caching) && view.controller.perform_caching
end