W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1998

Re: Cache writing.

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Wed, 18 Nov 1998 13:47:44 -0500
Message-Id: <>
To: olga@goliath.eai.com, www-lib@w3.org
At 10:50 11/18/98 -0600, olga wrote:

>I am trying to use HTLoadToStream function with cache initialized. The
Cache is
>not updated by that function call. If I use HTloadtoFile or HTLoadToChunk the
>urls are written to cache simultaneously. I thought HTLoadToStream would
do the
>same, but it didn't (at least for what I tried). 
>I tried
>HTLoadToStream(url, HTBlackHole(), request); 
>HTLoadToStream(url,  HTCacheWriter(request, NULL, WWW_SOURCE, WWW_SOURCE,
>                                   NULL), request);
>Both these calls did not write to cache. 
>Am I doing something wrong?

hmm, could you please try and run it with debug traces turned on - for
example by calling the function something like this


early on in your app.


Henrik Frystyk Nielsen,
World Wide Web Consortium
Received on Wednesday, 18 November 1998 13:47:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:48 UTC