Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-886

Grace mode supported, very useful for slow origins

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Done
    • None
    • None
    • Cache, Core, HTTP
    • N/A

    Description

      Varnish has long supported a mode called "grace mode" see https://www.varnish-cache.org/docs/trunk/tutorial/handling_misbehaving_servers.html.

      This is useful in cases where the origin server is slow at generating data, and you can configure it to serve stale content while a backend job is fetching the object.

      I would suggest this feature be enhanced to include support for.

      • url regex match to apply grace to.
      • override must-revalidate so that grace can be used (I know this violates the RFC, but a cache admin can optionally do this on a per origin/url basis).

      For example I have some origins which take between 5 to 20 seconds to generate content and this is handy in these known cases.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ricky.chan Ricky Chan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: