When search engines crawl a website (read the pages & content on a website), they have a certain threshold for how long to wait for a page to load before moving on. The page speed, or how many seconds it takes to load a page and its entire contents, is very important to search engines and user experience.
Having a slow page speed can cause search engine crawling issues as well as increase bounce rates for users that leave the page because it’s taking too long to load.
Many factors affect page speed, but image file size is the most important.