Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1478D760 for ; Thu, 20 Dec 2012 16:59:13 +0000 (UTC) Received: (qmail 53763 invoked by uid 500); 20 Dec 2012 16:59:13 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 53728 invoked by uid 500); 20 Dec 2012 16:59:13 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 53719 invoked by uid 99); 20 Dec 2012 16:59:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2012 16:59:13 +0000 Date: Thu, 20 Dec 2012 16:59:13 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HTTPCLIENT-1250) Allow query string to be ignored when determining cacheability for HTTP 1.0 responses MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski updated HTTPCLIENT-1250: ------------------------------------------ Fix Version/s: (was: 4.3 Final) 4.3 Alpha1 > 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 > 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 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