You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by sebb <se...@gmail.com> on 2009/02/13 16:46:52 UTC

Support for Caching in HttpClient

Just wondered if there are any plans to support user-agent Caching in
HttpClient?

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


Re: Support for Caching in HttpClient

Posted by Oleg Kalnichevski <ol...@apache.org>.
sebb wrote:
> On 13/02/2009, Ortwin Glück <od...@odi.ch> wrote:
>> No real plans. But requests for this feature are popping up every now and then.
>>  We have a JIRA ticket for that:
>>
>>  http://issues.apache.org/jira/browse/HTTPCLIENT-427
> 
> Ah, thanks, did not think to check JIRA.
> 
>>  Considering that other HTTP client libraries do have a cache implementation, we
>>  should seriously think about this.
>>
>>  Of course the whole caching topic is a can of worms: cache control headers,
>>  eviction, in memory/disk/db storage with efficient retrieval, space usage
>>  limiting, controlled concurrent access (potentially across processes) etc. But
>>  should be an interesting module to work on.
> 
> Indeed.
> 
> It would be useful for JMeter to be able to use it, probably without
> actually storing the data. I'll add a note to the JIRA.
> 
>>  sebb wrote:
>>  > Just wondered if there are any plans to support user-agent Caching in
>>  > HttpClient?
>>
>>

Such module could also potentially host other content handling aspects, 
for instance, GZip compression.

Personally I will not be able to contribute much, so it is really 
important some other committer(s) / contributor(s) would step forward to 
  take ownership of that module and to lead the development effort.

Oleg


>> --
>>  [web]  http://www.odi.ch/
>>  [blog] http://www.odi.ch/weblog/
>>  [pgp]  key 0x81CF3416
>>        finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
>>  For additional commands, e-mail: dev-help@hc.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
> 


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


Re: Support for Caching in HttpClient

Posted by sebb <se...@gmail.com>.
On 13/02/2009, Ortwin Glück <od...@odi.ch> wrote:
> No real plans. But requests for this feature are popping up every now and then.
>  We have a JIRA ticket for that:
>
>  http://issues.apache.org/jira/browse/HTTPCLIENT-427

Ah, thanks, did not think to check JIRA.

>  Considering that other HTTP client libraries do have a cache implementation, we
>  should seriously think about this.
>
>  Of course the whole caching topic is a can of worms: cache control headers,
>  eviction, in memory/disk/db storage with efficient retrieval, space usage
>  limiting, controlled concurrent access (potentially across processes) etc. But
>  should be an interesting module to work on.

Indeed.

It would be useful for JMeter to be able to use it, probably without
actually storing the data. I'll add a note to the JIRA.

>
>  sebb wrote:
>  > Just wondered if there are any plans to support user-agent Caching in
>  > HttpClient?
>
>
> --
>  [web]  http://www.odi.ch/
>  [blog] http://www.odi.ch/weblog/
>  [pgp]  key 0x81CF3416
>        finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
>  For additional commands, e-mail: dev-help@hc.apache.org
>
>

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


Re: Support for Caching in HttpClient

Posted by Ortwin Glück <od...@odi.ch>.
No real plans. But requests for this feature are popping up every now and then.
We have a JIRA ticket for that:

http://issues.apache.org/jira/browse/HTTPCLIENT-427

Considering that other HTTP client libraries do have a cache implementation, we
should seriously think about this.

Of course the whole caching topic is a can of worms: cache control headers,
eviction, in memory/disk/db storage with efficient retrieval, space usage
limiting, controlled concurrent access (potentially across processes) etc. But
should be an interesting module to work on.


sebb wrote:
> Just wondered if there are any plans to support user-agent Caching in
> HttpClient?

-- 
[web]  http://www.odi.ch/
[blog] http://www.odi.ch/weblog/
[pgp]  key 0x81CF3416
       finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416

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