1. 23 6月, 2018 3 次提交
  2. 22 6月, 2018 3 次提交
  3. 21 6月, 2018 7 次提交
  4. 20 6月, 2018 6 次提交
  5. 19 6月, 2018 9 次提交
  6. 18 6月, 2018 4 次提交
  7. 17 6月, 2018 1 次提交
  8. 16 6月, 2018 1 次提交
  9. 15 6月, 2018 4 次提交
  10. 14 6月, 2018 2 次提交
    • Y
    • D
      Add support for more HTTP cache controls · c94a0075
      Daniel Schierbeck 提交于
      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.
      c94a0075