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

HTTP Response is not cached with Cache-Control: no-cache header

    XMLWordPrintableJSON

Details

    Description

      When the HTTP response contains the Cache-Control: no-cache header, the response should be cached and then validated against the origin server before returning it.

      Now the HTTP response is never cached.

      https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching
      https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

      Attachments

        1. WebClientTest.java
          3 kB
          Marco Signorini

        Activity

          People

            Unassigned Unassigned
            m.signorini Marco Signorini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: