https://bugs.winehq.org/show_bug.cgi?id=47900
--- Comment #2 from François Gouget fgouget@codeweavers.com --- By "load log files piecemeal" I meant retrieving them from the VM progressively. This means the file on the web-server side may be updated multiple times. But that can certainly be dealt with through the Last-Modified HTTP field.
On another note, sending the screenshots, patch file and test executables should not involve the perl scripts at all. The web server would to that much better and faster.
The two reasons scripts have to get involved are: 1. Because the screenshots and logs are stored in a location that's not 'accessible' to the web server. 2. So they can disable caching which does not really make sense.
There is no file in var/jobs that contain any sensitive information: the only extra files are raw logs (which one can now download) and reference logs. So for point 1, either the web server configuration should be modified so we can build URLs that reference files in that directory, or these files should be moved to a suitable location (to be defined).
For point 2, using the files mtime should be just fine so I expect the web server's default handling to be what we want.