Sets a HTTP 1.1 Cache-Control header of "no-cache" so no caching should occur by the browser or intermediate caches (like caching proxy servers).
Source Code
# File action_controller/base.rb, line 1090 def expires_now #:doc: response.headers["Cache-Control"] = "no-cache" end
<code/>and<pre/>for code samples.