You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/17 13:20:04 UTC
[jira] [Commented] (HTTPCLIENT-1250) Allow query string to be
ignored when determining cacheability for HTTP 1.0 responses
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16014006#comment-16014006 ]
ASF GitHub Bot commented on HTTPCLIENT-1250:
--------------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/httpcomponents-client/pull/1
> Allow query string to be ignored when determining cacheability for HTTP 1.0 responses
> -------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1250
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1250
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpCache
> Affects Versions: 4.2.1
> Reporter: Don Brown
> Fix For: 4.3 Alpha1
>
> Attachments: fix_query_caching_in_http_1_0.patch
>
>
> For HTTP 1.0 responses, the cache uses a heuristic that checks for the presence of a query string, and if found, disables caching regardless of any explicit cache headers. This should be configurable to allow a client to disable this heuristic.
> In my case, I have a squid proxy in front of my server that is turning all responses into HTTP 1.0 responses, and thereby, disabling the cache for all outgoing requests that involve a query string. Ignoring the query string will work great for me as I use the cache in a controlled environment where the caching behavior is documented and understood by clients.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org