diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-10-05 16:48:08 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-10-05 16:48:08 -0500 |
commit | a0d5dca7a6c9a49491d84bd2526a395d824f1982 (patch) | |
tree | ca0d748d5108a58cf855db4df4b6ae5fc828a7b0 /guides | |
parent | e9020a6ce63e7c3454cd8b14b1c9332c4c915a47 (diff) | |
download | rails-a0d5dca7a6c9a49491d84bd2526a395d824f1982.tar.gz rails-a0d5dca7a6c9a49491d84bd2526a395d824f1982.tar.bz2 rails-a0d5dca7a6c9a49491d84bd2526a395d824f1982.zip |
update caching with rails guide to reflect action and page extraction [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/caching_with_rails.md | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/guides/source/caching_with_rails.md b/guides/source/caching_with_rails.md index ce1a01d313..78c31c527e 100644 --- a/guides/source/caching_with_rails.md +++ b/guides/source/caching_with_rails.md @@ -5,17 +5,20 @@ This guide will teach you what you need to know about avoiding that expensive ro After reading this guide, you should be able to use and configure: -* Page, action, and fragment caching -* Sweepers -* Alternative cache stores -* Conditional GET support +* Page, action, and fragment caching. +* Sweepers. +* Alternative cache stores. +* Conditional GET support. -------------------------------------------------------------------------------- Basic Caching ------------- -This is an introduction to the three types of caching techniques that Rails provides by default without the use of any third party plugins. +This is an introduction to three types of caching techniques: page, action and +fragment caching. Rails provides by default fragment caching. In order to use +page and action caching, you will need to add `actionpack-page_caching` and +`actionpack-action_caching` to your Gemfile. To start playing with caching you'll want to ensure that `config.action_controller.perform_caching` is set to `true`, if you're running in development mode. This flag is normally set in the corresponding `config/environments/*.rb` and caching is disabled by default for development and test, and enabled for production. |