ActionController::ConditionalGet

module ActionController::ConditionalGet

Included modules:
ActionController::RackDelegation, ActionController::Head

Public Instance Methods

expires_in(seconds, options = {}) Show source

Sets a HTTP 1.1 Cache-Control header. Defaults to issuing a private instruction, so that intermediate caches must not cache the response.

expires_in 20.minutes