cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: File caching

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Tue, 5 Jun 2007 13:11:55 -0500

On 6/5/07, Nick Forte <rforte_at_gmail.com> wrote:
> Does anyone have any pointers to code (C/C++) that does file caching
> with curl? It's my understanding that curl does not provide any file
> caching and I'd rather use something that's already written rather
> than writing my own.

There is something here:
http://www.pps.jussieu.fr/~jch/software/polipo/

It doesn't use curl, and I haven't really looked too close, but it looks
like the code base is fairly small and (hopefully) easy to understand.

Looks like the meat is in "diskcache.c"

 - Jeff
Received on 2007-06-05