I have a website hosted by DigitalOcean (1GB Memory/20GB Disk/LON1) and CloudFlare.
Lots of external librairies were from cdnjs.com
, which worked well in Europe and US, but they were not stable in China. So I decided to host all of them in my DigitalOcean server.
Then, I check the speed from China by Google Chrome Dev Tools, I notice that TTFB
(from 10s
to 1s
) are really unacceptable:
Does anyone know if I could do something (eg, configuring the DigitalOcean droplet) to reduce the TTFB time?