Re: Cache writing.

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); 
>.... 
>and
>
>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

	HTSetTraceMessageMask("sopc")

early on in your app.

Thanks,

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk

Received on Wednesday, 18 November 1998 13:47:50 UTC