From 0f87413f41050d6e3eacefb97a05a5d954f602d1 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Mon, 24 Oct 2016 20:17:31 +0900 Subject: update description of Etag [ci skip] The document is written with "only generate weak", but it can also be used to strong etag. Also, add missing entory for #24387 --- guides/source/5_0_release_notes.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guides/source/5_0_release_notes.md b/guides/source/5_0_release_notes.md index 964dbf9450..a98f7be067 100644 --- a/guides/source/5_0_release_notes.md +++ b/guides/source/5_0_release_notes.md @@ -417,7 +417,7 @@ Please refer to the [Changelog][action-pack] for detailed changes. `ActionDispatch::IntegrationTest` instead. ([commit](https://github.com/rails/rails/commit/4414c5d1795e815b102571425974a8b1d46d932d)) -* Rails will only generate "weak", instead of strong ETags. +* Rails generates weak ETags by default. ([Pull Request](https://github.com/rails/rails/pull/17573)) * Controller actions without an explicit `render` call and with no @@ -453,6 +453,9 @@ Please refer to the [Changelog][action-pack] for detailed changes. `ActionController::Live`. ([More details in this issue](https://github.com/rails/rails/issues/25581)) +* Introduce `Response#strong_etag=` and `#weak_etag=` and analogous + options for `fresh_when` and `stale?`. + ([Pull Request](https://github.com/rails/rails/pull/24387)) Action View ------------- -- cgit v1.2.3