Skip to content

Commit

Permalink
allow_reload/revalidate is not enabled by default
Browse files Browse the repository at this point in the history
These comments were left over after
d268152
  • Loading branch information
mislav committed May 17, 2012
1 parent 06d089a commit 4375aea
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/rack/cache/options.rb
Expand Up @@ -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
Expand Down

0 comments on commit 4375aea

Please sign in to comment.