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 6FB56101F2 for ; Tue, 18 Mar 2014 20:46:53 +0000 (UTC) Received: (qmail 31475 invoked by uid 500); 18 Mar 2014 20:46:50 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 31233 invoked by uid 500); 18 Mar 2014 20:46:47 -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 31174 invoked by uid 99); 18 Mar 2014 20:46:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2014 20:46:44 +0000 Date: Tue, 18 Mar 2014 20:46:44 +0000 (UTC) From: "Joe Campbell (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1487) CachingHttpClient doesn't persist cache 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-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939757#comment-13939757 ] Joe Campbell commented on HTTPCLIENT-1487: ------------------------------------------ I sort of agree with Oleg here Jon - I think that what was being asked for actually already exists and just isn't being used. The default is a non-persistent in mem representation, but we have others - and it wouldn't be hard to make a DISK backed one that would persist in the way I think this user is looking for or use like EH cache with a disk backing. > CachingHttpClient doesn't persist cache > --------------------------------------- > > Key: HTTPCLIENT-1487 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1487 > Project: HttpComponents HttpClient > Issue Type: Bug > Reporter: Chris Oliver > Assignee: Jon Moore > Priority: Blocker > > Unless I'm mistaken, the current implementation doesn't maintain the cache between executions of the java process. In addition, it appears the current api for HttpCacheStorage makes it difficult / error prone to do this myself, since my implementation would have to somehow produce an HttpCacheEntry. Any suggestions? -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org