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
Daniel Schierbeck c94a00757d Add support for more HTTP cache controls
From <https://tools.ietf.org/html/rfc5861>:

> The stale-if-error HTTP Cache-Control extension allows a cache to
> return a stale response when an error -- e.g., a 500 Internal Server
> Error, a network segment, or DNS failure -- is encountered, rather
> than returning a "hard" error.  This improves availability.
>
> The stale-while-revalidate HTTP Cache-Control extension allows a
> cache to immediately return a stale response while it revalidates it
> in the background, thereby hiding latency (both in the network and on
> the server) from clients.

These are useful, fully standardized parts of the HTTP protocol with
widespread support among CDN vendors. Supporting them will make it
easier to utilize reverse proxies and CDNs from Rails.
2018-06-13 18:08:24 +02:00
..
http Add support for more HTTP cache controls 2018-06-13 18:08:24 +02:00
journey Fix bug with eager_load in development environment 2018-06-11 15:54:25 -04:00
middleware Remove reference to session_store.rb initializer 2018-06-12 06:36:52 -04:00
request Add changelog entry for #32446 2018-04-06 16:50:38 +03:00
routing Fix Style/RedundantReturn offenses 2018-04-21 13:23:42 -04:00
system_testing Use strict_encode64 instead of gsub newline for ScreenshotHelper 2018-04-23 22:45:14 -04:00
testing Merge pull request #29955 from padi/update_actiondispatch_integration_docs 2018-05-04 17:35:55 +09:00
journey.rb [Action Pack] require => require_relative 2017-10-21 22:48:28 +09:00
railtie.rb Add 'Referrer-Policy' header to default headers set 2018-01-08 22:14:22 -05:00
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