diff options
author | Anuj Dutta <anuj@andhapp.com> | 2012-03-02 07:22:16 +0000 |
---|---|---|
committer | Anuj Dutta <anuj@andhapp.com> | 2012-03-02 07:22:16 +0000 |
commit | 1adad4442b29da3585713cc365d732fd953f8fac (patch) | |
tree | 8f001eb11d6714007f0d25b993c9db0b52b9403b /actionpack | |
parent | 92887ca315d20d55959d950438b98e4c876fc57b (diff) | |
download | rails-1adad4442b29da3585713cc365d732fd953f8fac.tar.gz rails-1adad4442b29da3585713cc365d732fd953f8fac.tar.bz2 rails-1adad4442b29da3585713cc365d732fd953f8fac.zip |
Removed max-stale from the setting the cache-headers in the response as max-stale is a cache request header.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/conditional_get.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/conditional_get.rb b/actionpack/lib/action_controller/metal/conditional_get.rb index 2a8e4c575e..5b25a0d303 100644 --- a/actionpack/lib/action_controller/metal/conditional_get.rb +++ b/actionpack/lib/action_controller/metal/conditional_get.rb @@ -110,8 +110,8 @@ module ActionController # # Examples: # expires_in 20.minutes + # expires_in 3.hours, :public => true # expires_in 3.hours, :public => true, :must_revalidate => true - # expires_in 3.hours, 'max-stale' => 5.hours, :public => true # # This method will overwrite an existing Cache-Control header. # See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for more possibilities. |