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

December 21, 2015 358 views
PHP MySQL Nginx WordPress LEMP

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?


1 Answer

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.

Have another answer? Share your knowledge.