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: <3.0.5.32.19981118134744.0324f100@localhost>
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); 
>.... 
>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 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 17:59:21 EDT