diff options
author | Joseph Pecoraro <joepeck02@gmail.com> | 2009-05-29 16:26:50 -0400 |
---|---|---|
committer | Joseph Pecoraro <joepeck02@gmail.com> | 2009-05-29 16:26:50 -0400 |
commit | 3014f0f4c53da5b10294670976080b0036c016dd (patch) | |
tree | db7e4a39be2f6f301bfadcd37f6779bae9137f2a /railties/guides/source/caching_with_rails.textile | |
parent | 796fef684bb9ab081c1ed899c6ac98203a459289 (diff) | |
download | rails-3014f0f4c53da5b10294670976080b0036c016dd.tar.gz rails-3014f0f4c53da5b10294670976080b0036c016dd.tar.bz2 rails-3014f0f4c53da5b10294670976080b0036c016dd.zip |
Capitalized Rails where appropriate.
Diffstat (limited to 'railties/guides/source/caching_with_rails.textile')
-rw-r--r-- | railties/guides/source/caching_with_rails.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/caching_with_rails.textile b/railties/guides/source/caching_with_rails.textile index 6d8c51355b..c4af3a948f 100644 --- a/railties/guides/source/caching_with_rails.textile +++ b/railties/guides/source/caching_with_rails.textile @@ -320,7 +320,7 @@ Conditional GETs are a feature of the HTTP specification that provide a way for They work by using the +HTTP_IF_NONE_MATCH+ and +HTTP_IF_MODIFIED_SINCE+ headers to pass back and forth both a unique content identifier and the timestamp of when the content was last changed. If the browser makes a request where the content identifier (etag) or last modified since timestamp matches the server’s version then the server only needs to send back an empty response with a not modified status. -It is the server's (i.e. our) responsibility to look for a last modified timestamp and the if-none-match header and determine whether or not to send back the full response. With conditional-get support in rails this is a pretty easy task: +It is the server's (i.e. our) responsibility to look for a last modified timestamp and the if-none-match header and determine whether or not to send back the full response. With conditional-get support in Rails this is a pretty easy task: <ruby> class ProductsController < ApplicationController |