aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYury Otcheski <otcheski@gmail.com>2015-02-27 18:36:28 +0300
committerYury Otcheski <otcheski@gmail.com>2015-02-27 18:36:28 +0300
commit8526921d291249292b209f0c57512f08b0c680b2 (patch)
tree395650343350696e3835936a15adc85b947c91e0
parent85c49f5a6431b36c9c36c367b5d9edaa8b79f733 (diff)
downloadrails-8526921d291249292b209f0c57512f08b0c680b2.tar.gz
rails-8526921d291249292b209f0c57512f08b0c680b2.tar.bz2
rails-8526921d291249292b209f0c57512f08b0c680b2.zip
Guides mistake about page caching.
DHH's key-based cache expiration isn't alternative to page caching. It's true about action caching but not page caching. I propose to remove this line as confusing, page caching is still best if applicable. [ci skip]
-rw-r--r--guides/source/caching_with_rails.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/caching_with_rails.md b/guides/source/caching_with_rails.md
index 0fa20f7ccf..716beb9178 100644
--- a/guides/source/caching_with_rails.md
+++ b/guides/source/caching_with_rails.md
@@ -32,7 +32,7 @@ config.action_controller.perform_caching = true
Page caching is a Rails mechanism which allows the request for a generated page to be fulfilled by the webserver (i.e. Apache or NGINX), without ever having to go through the Rails stack at all. Obviously, this is super-fast. Unfortunately, it can't be applied to every situation (such as pages that need authentication) and since the webserver is literally just serving a file from the filesystem, cache expiration is an issue that needs to be dealt with.
-INFO: Page Caching has been removed from Rails 4. See the [actionpack-page_caching gem](https://github.com/rails/actionpack-page_caching). See [DHH's key-based cache expiration overview](http://signalvnoise.com/posts/3113-how-key-based-cache-expiration-works) for the newly-preferred method.
+INFO: Page Caching has been removed from Rails 4. See the [actionpack-page_caching gem](https://github.com/rails/actionpack-page_caching).
### Action Caching