aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-08-07 19:09:47 +0200
committerGitHub <noreply@github.com>2016-08-07 19:09:47 +0200
commitb35afddb1433753d13270d1043370c4b29c8f846 (patch)
tree6c3abb3ce64dde0be561de237bcd21f8a6a987d1 /guides/source
parent15a600f9fe815ad6423875b69cd439a41e9636eb (diff)
parentab2af4dfcb61b568a9753b97dc55f1b45e3a824e (diff)
downloadrails-b35afddb1433753d13270d1043370c4b29c8f846.tar.gz
rails-b35afddb1433753d13270d1043370c4b29c8f846.tar.bz2
rails-b35afddb1433753d13270d1043370c4b29c8f846.zip
Merge pull request #25825 from st0012/partial-cache
Better logging of cached partial renders
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/configuring.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 572993a36b..48cbbe1f7d 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -516,6 +516,14 @@ encrypted cookies salt value. Defaults to `'signed encrypted cookie'`.
* `config.action_view.debug_missing_translation` determines whether to wrap the missing translations key in a `<span>` tag or not. This defaults to `true`.
+* `config.action_view.enable_fragment_cache_logging` determines whether to log fragment cache reads and writes like:
+
+ ```
+ Read fragment views/v1/2914079/v1/2914079/recordings/70182313-20160225015037000000/d0bdf2974e1ef6d31685c3b392ad0b74 (0.6ms)
+ ```
+
+ Default value is false.
+
### Configuring Action Mailer
There are a number of settings available on `config.action_mailer`: