aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2016-04-01 18:09:30 -0700
committerJeremy Daer <jeremydaer@gmail.com>2016-04-01 18:09:30 -0700
commit863d385012824ac9a792b0c337f06c562914149f (patch)
treeb27e50dc5b12b65be863d09b3ec54bf9216b242a /actionpack/CHANGELOG.md
parent968ebc0fdb6e2830eabb97cf642fbfaeb82aca80 (diff)
parentc1c9c690401bff43b350241cb58b6017ca5fe632 (diff)
downloadrails-863d385012824ac9a792b0c337f06c562914149f.tar.gz
rails-863d385012824ac9a792b0c337f06c562914149f.tar.bz2
rails-863d385012824ac9a792b0c337f06c562914149f.zip
Merge pull request #24387 from jeremy/strong-etag
Strong ETag validators
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r--actionpack/CHANGELOG.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index 4f5b81d04a..7d400eaa22 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,3 +1,25 @@
+* ETags: Introduce `Response#strong_etag=` and `#weak_etag=` and analogous
+ options for `fresh_when` and `stale?`. `Response#etag=` sets a weak ETag.
+
+ Strong ETags are desirable when you're serving byte-for-byte identical
+ responses that support Range requests, like PDFs or videos (typically
+ done by reproxying the response from a backend storage service).
+ Also desirable when fronted by some CDNs that support strong ETags
+ only, like Akamai.
+
+ *Jeremy Daer*
+
+* ETags: No longer strips quotes (") from ETag values before comparing them.
+ Quotes are significant, part of the ETag. A quoted ETag and an unquoted
+ one are not the same entity.
+
+ *Jeremy Daer*
+
+* ETags: Support `If-None-Match: *`. Rarely useful for GET requests; meant
+ to provide some optimistic concurrency control for PUT requests.
+
+ *Jeremy Daer*
+
* `ActionDispatch::ParamsParser` is deprecated and was removed from the middleware
stack. To configure the parameter parsers use `ActionDispatch::Request.parameter_parsers=`.