Download Manifest Hash (if it exists in a repo we directly download the manifest itself)
Download Dependency Hash (if it exists in a repo we directly download the dep)
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.
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.