mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove reference to unknown method dirty?
to docs
[ci skip]
This commit is contained in:
parent
9764107099
commit
3f2831cd46
1 changed files with 0 additions and 2 deletions
|
@ -79,8 +79,6 @@ Handled at the middleware layer:
|
||||||
code. All you need to do is use the
|
code. All you need to do is use the
|
||||||
[`stale?`](http://api.rubyonrails.org/classes/ActionController/ConditionalGet.html#method-i-stale-3F)
|
[`stale?`](http://api.rubyonrails.org/classes/ActionController/ConditionalGet.html#method-i-stale-3F)
|
||||||
check in your controller, and Rails will handle all of the HTTP details for you.
|
check in your controller, and Rails will handle all of the HTTP details for you.
|
||||||
- Caching: If you use `dirty?` with public cache control, Rails will automatically
|
|
||||||
cache your responses. You can easily configure the cache store.
|
|
||||||
- HEAD requests: Rails will transparently convert `HEAD` requests into `GET` ones,
|
- HEAD requests: Rails will transparently convert `HEAD` requests into `GET` ones,
|
||||||
and return just the headers on the way out. This makes `HEAD` work reliably in
|
and return just the headers on the way out. This makes `HEAD` work reliably in
|
||||||
all Rails APIs.
|
all Rails APIs.
|
||||||
|
|
Loading…
Reference in a new issue