[Bug 47900] Enable caching of screenshots and log files

WineHQ Bugzilla wine-bugs at winehq.org
Sun Oct 27 15:45:43 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47900

--- Comment #2 from François Gouget <fgouget at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list