How to solve the problem that a single file loads too slowly when a web page is loaded?

my web page needs to load a 3.3Mb library resource with the suffix .sf2 because I want to play music.
when you enter the page, the chrome debugging tool shows that it takes 20s to load this resource, and I think the speed is more than 100kb/s.
I am using Aliyun ecs server configuration is 1vCPUswap 1GB Universe 1Mbps, which is the low-configuration version.

would you like to know if there is any way to speed up this file alone?

Mar.11,2021

acts as a reverse proxy, proxying files to other servers, or locally.


you can try Aliyun's OSS service. I usually throw large resources on OSS so that my server pressure will be reduced a lot


the subject is asking if it is possible to accelerate a single file.
the owner of the question can try to throw the file into memory to see if it is affected by disk io. If not, it is a network problem and there is no solution. You can only add bandwidth, user or server bandwidth.
1Mbps broadband is estimated to have a speed of more than 100k. I think it is either the problem of file acceleration or insufficient bandwidth.
there are also people who say they want to release CDN,. I think the subject has bought the cheapest server, how can he spend money on cdn traffic?


put this file in CDN, separately and all URI points to the CDN address.
acceleration is out of the question, but at least you can properly balance the speed differences between different regions ~ if the file type is not binary, you can consider turning on Gzip acceleration.
is this configuration a pure static server? I think there's PHP? on the label.


it is obvious that you have a bandwidth of 1m, and it is already a normal speed to reach 100K/s.
if you want to speed up, you can use Qiniu.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31839-2b519.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31839-2b519.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?