hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1250) Allow query string to be ignored when determining cacheability for HTTP 1.0 responses
Date Fri, 12 Oct 2012 22:11:03 GMT

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

Don Brown commented on HTTPCLIENT-1250:
---------------------------------------

I did it this way to keep existing behavior in case folks were depending on it, but I'm fine
reverting the configuration option.  Does it make sense to have this flag apply to all responses,
not just HTTP 1.0 ones?
                
> 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: Cache
>    Affects Versions: 4.2.1
>            Reporter: Don Brown
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message