> -----Ursprüngliche Nachricht----- > Von: Graham Leggett > > * Don't block the requesting thread when requestng a large uncached > > item, cache in the background and reply while caching > (currently it > > stalls). > > This is great, in doing this you've been solving a proxy bug that was > first reported in 1998 :).
This already works in the case you get the data from the proxy backend. It does not work for local files that get cached (the scenario Niklas uses the cache for). The reason it does not work currently is that that a local file usually is delivered in one brigade with, depending on the size of the file, one or more file buckets. For Niklas purposes Colm's ideas regarding the use of the new Linux system calls tee and splice will get handy (http://mail-archives.apache.org/mod_mbox/apr-dev/200604.mbox/[EMAIL PROTECTED]) as they should speed up such things. Regards Rüdiger
