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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.3 Beta1
    • 4.3 Final
    • HttpCache
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: