speed of cache requests

 Hi there,
 
 in our application (an X11 based browser called cineast) 
 we get much better performance by setting cached requests to
 preemptive (in HTProtocolInit()). This allows for example to 
 determine the exact size of cached images (or bullets) immediately
 after HTLoad before adjoining text is layouted. 
 
 well, this preemtive issue is not really a bug, but i would think that 
 the speed of other libwww applications will be affeced by this as well.
 
 best regards
 -gustaf neumann

==================================================================================
--- HTInit.c.ORIG       Fri Oct 11 00:45:36 1996
+++ HTInit.c    Sun Dec 15 20:27:01 1996
@@ -240,7 +240,7 @@
 
     HTProtocol_add("http",     "buffered_tcp", NO,     HTLoadHTTP,     NULL);
     HTProtocol_add("file",     "local",        NO,     HTLoadFile,     NULL);
-    HTProtocol_add("cache",    "local",        NO,     HTLoadCache,    NULL);
+    HTProtocol_add("cache",    "local",        YES,    HTLoadCache,    NULL);
     HTProtocol_add("telnet",   "",             YES,    HTLoadTelnet,   NULL);
     HTProtocol_add("tn3270",   "",             YES,    HTLoadTelnet,   NULL);
     HTProtocol_add("rlogin",   "",             YES,    HTLoadTelnet,   NULL);
 
 

--
Wirtschaftsinformatik und Softwaretechnik        
Universitaet GH Essen, FB5
Altendorfer Strasse 97-101, Eingang B, D-45143 Essen
Tel.: +49 (0201) 81003-74, Fax:  +49 (0201) 81003-73
Gustaf.Neumann@uni-essen.de
http://mohegan.wi-inf.uni-essen.de/Neumann.html

Received on Sunday, 15 December 1996 14:50:46 UTC