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 06BFA99AD for ; Fri, 25 May 2012 16:40:26 +0000 (UTC) Received: (qmail 79724 invoked by uid 500); 25 May 2012 16:40:23 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 79691 invoked by uid 500); 25 May 2012 16:40:23 -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 79651 invoked by uid 99); 25 May 2012 16:40:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2012 16:40:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 34096142815 for ; Fri, 25 May 2012 16:40:23 +0000 (UTC) Date: Fri, 25 May 2012 16:40:23 +0000 (UTC) From: "Francois-Xavier Bonnet (JIRA)" To: dev@hc.apache.org Message-ID: <1149336796.2881.1337964023215.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (HTTPCLIENT-1194) X-cache response header MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Francois-Xavier Bonnet created HTTPCLIENT-1194: -------------------------------------------------- Summary: X-cache response header Key: HTTPCLIENT-1194 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1194 Project: HttpComponents HttpClient Issue Type: Improvement Components: Cache Affects Versions: 4.2 Final Reporter: Francois-Xavier Bonnet Priority: Minor Unless I missed something, there is no easy way to see if a request has been served by the cache or by a backend call except from the logs. Usualy in caches there is a way to activate some http headers like "X-cache". It should not be too hard to add such a feature to HttpClient cache, we could just add a configuration parameter to activate it or not. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa 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