You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Arturo Bernal (Jira)" <ji...@apache.org> on 2023/04/26 19:56:00 UTC

[jira] [Commented] (HTTPCLIENT-1953) HTTP Response is not cached with Cache-Control: no-cache header

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17716896#comment-17716896 ] 

Arturo Bernal commented on HTTPCLIENT-1953:
-------------------------------------------

[~olegk]  

I guess this too. 

> HTTP Response is not cached with Cache-Control: no-cache header
> ---------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1953
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1953
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpCache
>    Affects Versions: 4.5.6
>            Reporter: Marco Signorini
>            Priority: Major
>              Labels: stuck, volunteers-wanted
>             Fix For: Stuck
>
>         Attachments: WebClientTest.java
>
>
> 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]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org