cURL / Mailing Lists / curl-library / Single Mail


Re: cache in libcurl

From: Jason Pump <>
Date: Thu, 22 Feb 2007 16:33:45 -0800

> I have expected that libcurl can do the same cache as IE so when I
> load the same image the second time, it will load from local cache.
> Did I miss something?
IE is a web browser which uses a library for retrieving network content
and then caches that information, libcurl is a library for retrieving
network content. libcurl does not provide a caching mechanism for
content retrieved, that is left to your application (e.g. IE). You could
use for instance the free library BDB ( ), flat files, or
MySQL ( ) to store the retrieved content, and then check
if the content has been retrieved already before calling libcurl.
Received on 2007-02-23