Module: ActionController::EtagWithFlash

Extended by:
ActiveSupport::Concern
Includes:
ConditionalGet
Defined in:
actionpack/lib/action_controller/metal/etag_with_flash.rb

Overview

When you’re using the flash, it’s generally used as a conditional on the view. This means the content of the view depends on the flash. Which in turn means that the ETag for a response should be computed with the content of the flash in mind. This does that by including the content of the flash as a component in the ETag that’s generated for a response.

Method Summary

Methods included from ActiveSupport::Concern

append_features, class_methods, extended, included, prepend_features, prepended

Methods included from ConditionalGet

#expires_in, #expires_now, #fresh_when, #http_cache_forever, #no_store, #stale?

Methods included from Head

#head