Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1361

stale-while-revalidate should work also without last-modified nor etag

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3 Beta1
    • Fix Version/s: 4.3 Final
    • Component/s: HttpCache
    • Labels:
      None

      Description

      Currently stale-while-revalidate mechanism works only if the cache entry contains a last-modified or a etag header. It should work also for cache entries with expires or max-age.
      The specification is not very clear about what a revalidation is, but in the example there is no last-modified nor etag, only a cache-control: max-age
      http://tools.ietf.org/html/rfc5861

      If everybody agrees, I can work on a fix.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fx.bonnet Francois-Xavier Bonnet
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: