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

Cache writing.

From: olga <olga@goliath.eai.com>
Date: Wed, 18 Nov 1998 10:50:05 -0600 (CST)
Message-ID: <XFMail.981118105005.olga@eai.com>
To: www-lib@w3.org
Hi,

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?

Thank you,

Olga Antropova.
Received on Wednesday, 18 November 1998 11:46:55 EST

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