cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl cache?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 29 Mar 2005 13:19:14 -0800

On Tue, Mar 29, 2005 at 02:09:32PM -0500, Michael Smith wrote:
> This may be a very silly question, but I'm still going to ask it.
>
> Does the libcurl have its own cache similar to a web browser for instance?
>
> In the following code purl->fGetBodyContent is set to FALSE and somehow I have
> been told that dwFileSize and lLastModified time remain the same eventhough the
> file has been updated on the webserver. Is this possible?

Could there be a proxy between you and the host that's doing the caching
(an explicit one or a transparent one)? Try adding the appropriate HTTP
headers to disable proxy caching along the path of the request.

>>> dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2005-03-29