Report this

What is the reason for this report?

Image file load too slow on nginx.

Posted on February 8, 2017

Hi.

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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

@junukseo

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:

compressor.io

or

TinyPNG

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.

Compress your photos using our free online image compressor tool, which preserves the quality of JPEG, JPG, PNG, SVG, GIF, and WEBP image files.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.