• web browser timeout - slow server

    From Mike Scott@usenet.16@scottsonline.org.uk.invalid to comp.os.linux.networking on Tue Dec 3 19:27:46 2024
    From Newsgroup: comp.os.linux.networking

    I've just run full tilt into an unexpected problem.

    I have a web server that calculates a number (perhaps 10 - 100 or
    potentially more) of images and delivers a zip file for download.

    I'm now finding the browser is timing out and resending the form data.
    It's been causing obscure download errors. The zip file takes maybe a
    minute or more to calculate even for smallish test requests.

    I'd not anticipated any such timeout, so feel up the proverbial gumtree.
    A web interface seemed a natural way to go as an extension of an
    existing system, but the image calculation is what it is, and won't
    speed up much.

    Does anyone have any thoughts on a way out of this please? Downloading
    the images a few at a time isn't really acceptable!

    Thanks.
    --
    Mike Scott
    Harlow, England
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.networking on Tue Dec 3 20:45:04 2024
    From Newsgroup: comp.os.linux.networking

    On Tue, 3 Dec 2024 19:27:46 +0000, Mike Scott wrote:

    A web interface seemed a natural way to go as an extension of an
    existing system, but the image calculation is what it is, and won't
    speed up much.

    Obviously you need to provide some feedback while putting together the complete download in the background. Only when that is ready should you actually redirect the browser to the URL to get the complete archive.
    --- Synchronet 3.20a-Linux NewsLink 1.114