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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m