instance method
no_store
Ruby on Rails 8.1.2
Since v7.0.10Signature
no_store()
Sets an HTTP 1.1 Cache-Control header of no-store. This means the resource may not be stored in any cache.
Source
# File actionpack/lib/action_controller/metal/conditional_get.rb, line 331
def no_store
response.cache_control.replace(no_store: true)
end
Defined in actionpack/lib/action_controller/metal/conditional_get.rb line 331
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::ConditionalGet