I sell shareware software through my website. Visitors come and download the .exe file and browse the website. Now I have this problem:
1) the .exe download is sometimes (mostly during peak hours) pretty slow, the 4MB file takes 10 seconds to arrive. No, it's not my internet. I don't particularly care about this 10 seconds download time, however I'm worried about this:
2) while the .exe is downloading, the visitor cannot access any other page of my website, a blank page appears and the load only finishes when the .exe download completes. This looks completely broken.
It appears as if only 1 thread per visitor is available. Why? This is a potential income loss for me. I should not prevent the visitor from browsing while he's downloading my product, nor should my webpage appear to be broken.
The .exe is currently served through a php script as an attachment (php because I want to register and log the downloads). I tried to simply redirect the browser to the .exe file after logging, but it didn't fix the blocking issue.
I can not move the exe to a different server. The executable is code signed with a certificate that has its reputation built for my domain name. If I move the file to a different domain, the cert will break (smartscreen and chrome will prevent installs). Rep rebuild takes months. So I won't move the file elsewhere.
How can I resolve this?