XML sitemaps · Sitemap URLs
Timed out URL in sitemap
The XML sitemap lists a URL that takes 30 seconds to respond, longer than most crawlers are willing to wait for a page.
How this page is built
/sitemap.xml lists this page and, straight after it, /fixtures/timed-out-page/. A Netlify Edge Function holds every request for that address for 30 seconds before the page is sent. Screaming Frog waits 20 seconds by default, so it gives up first.
Nothing on the site links to the slow page, so the sitemap is the only place a crawler finds it. A browser that waits long enough gets an ordinary page that explains the delay.
Why it matters
Every URL in a sitemap should respond quickly with a 200 status code. A URL that times out cannot be crawled or indexed, and a crawler that waits for it has less time left for the rest of the site.
Timeouts in a sitemap usually point to a wider problem: an overloaded server, a slow database query or a page that is built on every request. Search engines that meet many of them slow down their crawling.
How to check it
Crawl every URL in the sitemap and look for responses that time out or have no status code. Crawl tools report these as timeouts or as having no response. Search Console shows server errors and timeouts in its crawl stats report. Request the URL with a header checker to see how long it takes.
How to fix it
Find out why the page is slow and fix the cause, whether that is caching, a heavy query or a slow third-party service. If the page should not be indexed, remove it from the sitemap.
Then check the crawl stats report in Search Console to make sure response times have recovered.