Permalink
Browse files

Merge pull request #63 from mislav/reload-doc

allow_reload/revalidate is not enabled by default
  • Loading branch information...
2 parents a7a9957 + 4375aea commit 71a2e464e644f89d78a41f5394133c9eb0f0bec3 @rtomayko committed Jan 10, 2013
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 71a2e46

Please sign in to comment.