1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_dispatch
yuuji.yaginuma c1dd228579 Allow using combine the Cache-Control public and no-cache headers
Since #30367, if `no-cache` includes Cache-Control headers, special keys
like `public`, `must-revalidate` are ignored.
But in my understanding, `public` still need in case of want to cache
authenticated pages.
The authenticated pages to be cacheable, but still authenticated for
every user, need to specify the `Cache-Control: public, no-cache`.

For keys other than `public`, I did not know the case where it was
necessary to use it in combination with `no-cache`, so I fixed that can
be used only for `public`.

Ref: https://www.mnot.net/cache_docs/#CACHE-CONTROL

Fixes #34780.
2019-01-07 07:52:29 +09:00
..
http Allow using combine the Cache-Control public and no-cache headers 2019-01-07 07:52:29 +09:00
journey Expand metaprogramming for Symbol, Slash and Dot. 2018-12-07 09:25:10 +01:00
middleware Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
request add missing indifferent_access require for #normalize_encode_params 2018-08-16 13:27:00 -07:00
routing Module#{define_method,alias_method,undef_method,remove_method} become public since Ruby 2.5 2018-12-21 01:39:18 +09:00
system_testing Reset sessions on failed system test screenshot 2018-11-13 03:30:41 +07:00
testing Allow using parsed_body in ActionController::TestCase 2018-12-16 12:27:37 +01:00
journey.rb [Action Pack] require => require_relative 2017-10-21 22:48:28 +09:00
railtie.rb Purpose Metadata For Signed And Encrypted Cookies 2018-08-12 21:50:35 +05:30
routing.rb Improve docs of ActionDispatch::Routing 2018-03-13 11:56:33 +02:00
system_test_case.rb Remove upper bound on Capybara 2018-04-10 16:40:14 -04:00