2021/05/30分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Merge pull request #42309 from intrip/41644-allows-cache-control-fresh-when
actionpack/lib/action_controller/metal/conditional_get.rb
の修正です。
fresh_when
と stale?
メソッドでCache-Control headerの値をオプション(cache_control
)で上書き出来るよう修正しています。Cache-Control: public, no-cache
のように任意のheaderを指定出来るようにする為。