W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1998

return file hadle to file in cache?

From: Matthew P. Bohnsack <bohnsack@eai.com>
Date: Thu, 11 Jun 1998 13:30:06 -0500
Message-Id: <199806111827.NAA29754@goliath.eai.com>
To: www-lib@w3.org

i'm trying to write some code that will return a file handle to a cached
file, but not having much luck

right now i'm doing something like...

HTProfile_newPreemptiveClient("MyClient", "0.001");
HTCacheInit(CacheLoc, CacheSize);
request = HTRequest_new();
ret=HTLoadToFile(url, request, filename);
// do something with filename

this ends up loading a file from either across the network or from cache
and placing it into
/var/tmp/something.  this works but its not really what i want.  i would
like to load a file across
the network and place it into cache if its not already in cache and then
get a filehandle to 
the cached file to pass back to somewhere.  is there some API functionality
to accomplish this?


Matt Bohnsack                        Engineering Animation, Inc.
bohnsack@eai.com             http://www.eai.com
Received on Thursday, 11 June 1998 14:25:43 UTC

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