Permalink
Browse files

allow_reload/revalidate is not enabled by default

These comments were left over after
d268152
  • Loading branch information...
1 parent 06d089a commit 4375aea8d057cac1e4e53e20f6181b2ea27072eb @mislav mislav committed May 17, 2012
Showing with 4 additions and 6 deletions.
  1. +4 −6 lib/rack/cache/options.rb
View
@@ -95,14 +95,12 @@ def option_name(key)
# Default: ['Authorization', 'Cookie']
option_accessor :private_headers
- # Specifies whether the client can force a cache reload by including a
- # Cache-Control "no-cache" directive in the request. This is enabled by
- # default for compliance with RFC 2616.
+ # Specifies whether a client can force cache reload by including a
+ # Cache-Control "no-cache" directive in the request. Disabled by default.
option_accessor :allow_reload
- # Specifies whether the client can force a cache revalidate by including
- # a Cache-Control "max-age=0" directive in the request. This is enabled by
- # default for compliance with RFC 2616.
+ # Specifies whether a client can force cache revalidate by including a
+ # Cache-Control "max-age=0" directive in the request. Disabled by default.
option_accessor :allow_revalidate
# Specifies whether the underlying entity store's native expiration should

0 comments on commit 4375aea

Please sign in to comment.