hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Campbell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1487) CachingHttpClient doesn't persist cache
Date Tue, 18 Mar 2014 20:46:44 GMT

    [ 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


Mime
View raw message