Skip to content

Commit

Permalink
Removed max-stale from the setting the cache-headers in the response …
Browse files Browse the repository at this point in the history
…as max-stale is a cache request header.
  • Loading branch information
andhapp committed Mar 2, 2012
1 parent 92887ca commit 1adad44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/metal/conditional_get.rb
Expand Up @@ -110,8 +110,8 @@ def stale?(record_or_options, additional_options = {})
#
# 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.
Expand Down

0 comments on commit 1adad44

Please sign in to comment.