kettingpowered / kettinglauncher

A freestanding Launcher for the Ketting Server.
17 stars 5 forks source link

Downloading Dynamic Versions is kinda slow #8

Closed C0D3-M4513R closed 10 months ago

C0D3-M4513R commented 10 months ago

For dynamic Versions we have to:

And especially the first step will hurt us, since the Manifest is currently not cached. I would love to also cache the Manifest, but if we release new versions, the manifest necessarily has to change. Then cloudflare sometimes doesn't update the hashes and the manifest itself at the same time, and then the launcher complains.

So sadly this is not a trivial solution.

Maybe we could try to not check the Manifest's hash. Then a hash-mismatch would no longer pose a problem, and I could cache the Manifest again, which would probably improve download times.

Should that still be too slow, we could not check for version updates, if the manifest file has been modified less than a certain time.

C0D3-M4513R commented 10 months ago

This is now partly counteracted by parallel Lib loading, but still.

C0D3-M4513R commented 10 months ago

Fixed with version 1.0.8