It takes too long to get 404 errors on WordPress on LEMP stack

Hi, I’m new to DigitalOcean. Just set up WordPress on LEMP stack and noticed some page load speed issue on my site. In inspector shows that it takes 4 to over 5 seconds to give 404 errors for all the images on the page. Any idea why it’s talking to long to show the 404 errors?


Submit an 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.

Hard to tell without taking a look at your configuration. The try_files directive has options for returning 404 quickly if the file is not present on disk.