Hi. I’ve developed a WordPress site which is using the WooCommerce plugin as the shopfront. I’m keen to keep the site as fast as possible, hence the use of this site.
However, when I read the test results for my site, one of the longest load times results in a 404 error. I’ve tried numerous tools to try and find the cause of the 404 error including using Google Webmaster and Saving the Response Bodies on WebPageTest, but can’t seem to track it down anywhere. My site is thekitchenshelf.co.uk and the 404 goes to the URL thekitchenshelf.co.uk/not_found but I can’t see where the link or failed page is originating from. Could this be an error in the test results? Is someone here able to help… I am new to website speed analysis and optimisation so this has me really confused. Many thanks.
OK. That was painful and looks like you may have exposed a bug that WebPagetest isn’t catching
protip: If you use Chrome as a test browser then you will get information on what triggered each request to load. Capturing response bodies and a timeline also help.
Next step is to just grep through all of the bodies looking for not_found. It wasn’t in any of the captured response bodies. Time to step up the game and capture a full tcpdump.
Eureka! Searching the raw packets it looks like the request for:
Wow… thanks for the insight and all the help. I would never have been able to figure all that out - and sorry for potentially exposing a bug with site. I can’t tell you how much your help is appreciated.