method

fragment_cache

fragment_cache(method_name, event)
private

No documentation available.

# File actionpack/lib/action_controller/structured_event_subscriber.rb, line 96
      def fragment_cache(method_name, event)
        key = ActiveSupport::Cache.expand_cache_key(event.payload[:key] || event.payload[:path])

        emit_event("action_controller.fragment_cache",
          method: "#{method_name}",
          key: key,
          duration_ms: event.duration.round(1)
        )
      end