Image file load too slow on nginx.

February 8, 2017 3.8k views
Nginx WordPress PHP Ubuntu 16.04


I am using Ubuntu 16.04 + Nginx 1.10 + php7.08 + Mariadb by wordpress.

owever, the speed at which image files are loaded is too slow like this link.

Where should I check?

Please let me know how to solve this problem.

Thank you.

2 Answers

That might have been your Internet connection at that time… because that link is fast for me.


When it comes to images loading slow, the issue is generally network, size, or both. The first thing I’d recommend doing is making sure you’re images are compressed. You can do this with services such as:



With DigitalOcean, network is unlikely to be the issue, but generally speaking, almost all images can be compressed to save bandwidth and speed up transfer.

NGINX wouldn’t actually be responsible for slow-loading images unless there’s really something wild or incorrect about your configuration. To check and recommend changes, I’d need to take a look at your nginx.conf file as well as your websites server block.

Have another answer? Share your knowledge.