# File lib/action_controller/caching/fragments.rb, line 65 def read_fragment(key, options = nil) return unless cache_configured? self.class.benchmark "Cached fragment hit: #{key}" do key = fragment_cache_key(key) result = cache_store.read(key, options) result.respond_to?(:html_safe) ? result.html_safe : result end end