Question

Image file load too slow on nginx.

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.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @junukseo,

Just un update on the topic. As already mentioned, usually there are no issues with the DigitalOcean network. If there are any issues they should be shown here:

https://status.digitalocean.com/

If there isn’t anything on the page then it might be from your network. Checking your Upload speed would be the first step I’ll recommend.

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

@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.