{"id":557,"date":"2020-02-26T10:17:00","date_gmt":"2020-02-26T10:17:00","guid":{"rendered":"https:\/\/loftocean.com\/doc\/loftloader\/?page_id=557"},"modified":"2020-03-01T11:59:26","modified_gmt":"2020-03-01T11:59:26","slug":"control-maximum-load-time","status":"publish","type":"page","link":"https:\/\/loftocean.com\/doc\/loftloader\/maximum-load-time\/control-maximum-load-time\/","title":{"rendered":"Control Maximum Load Time"},"content":{"rendered":"<p>Since LoftLoader Pro v2.2, users can set a maximum load time for the preloader.<\/p>\n<p>Click to open the <strong>More<\/strong> section, then you can find the option for <strong>&#8220;Maximum Load Time&#8221;<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-558\" src=\"https:\/\/loftocean.com\/doc\/loftloader\/wp-content\/uploads\/sites\/3\/2020\/02\/max-load-time.png\" alt=\"\" width=\"2183\" height=\"1600\" srcset=\"https:\/\/loftocean.com\/doc\/loftloader\/wp-content\/uploads\/sites\/3\/2020\/02\/max-load-time.png 2183w, https:\/\/loftocean.com\/doc\/loftloader\/wp-content\/uploads\/sites\/3\/2020\/02\/max-load-time-300x220.png 300w, https:\/\/loftocean.com\/doc\/loftloader\/wp-content\/uploads\/sites\/3\/2020\/02\/max-load-time-768x563.png 768w, https:\/\/loftocean.com\/doc\/loftloader\/wp-content\/uploads\/sites\/3\/2020\/02\/max-load-time-1024x751.png 1024w\" sizes=\"auto, (max-width: 2183px) 100vw, 2183px\" \/><\/p>\n<p>This option allows you to set the maximum load duration of the preloader. It prevents the preloader from taking too long to display.<\/p>\n<p>For example, you may find that your page only takes 2 seconds to load most of the content, but it may take 5 seconds to load the entire page. You don&#8217;t want visitors to wait 5 seconds before they start browsing the page content. Therefore, you can set a maximum time of 2 seconds for your loader.<\/p>\n<p>Another example, there are several videos on your page from external websites that may take a long time to load, especially if your visitors have slow internet connections. You may not need to keep the loader showing until these videos are loaded, so you can set a maximum time for the loader.<\/p>\n<p>Please note: If you also enable minimum load time, please make the minimum load time smaller than the maximum load time.<\/p>\n<p>For example, the minimum load time is set to 2 seconds and the maximum load time is set to 5 seconds. In this case, when your page content is very lightweight and loaded quickly, the loader will display at least 2 seconds so the visitors can see the loader clearly. When a page has a lot of content and it may take 10 seconds (or longer) to load, the loader only displays for 5 seconds and then disappears. It will not block visitors until the page content is fully loaded.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since LoftLoader Pro v2.2, users can set a maximum load time for the preloader. Click to open the More section, then you can find the option for &#8220;Maximum Load Time&#8221;. This option allows you to set the maximum load duration of the preloader. It prevents the preloader from taking too long to display. For example, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":574,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-557","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/loftocean.com\/doc\/loftloader\/wp-json\/wp\/v2\/pages\/557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/loftocean.com\/doc\/loftloader\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/loftocean.com\/doc\/loftloader\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/loftocean.com\/doc\/loftloader\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/loftocean.com\/doc\/loftloader\/wp-json\/wp\/v2\/comments?post=557"}],"version-history":[{"count":5,"href":"https:\/\/loftocean.com\/doc\/loftloader\/wp-json\/wp\/v2\/pages\/557\/revisions"}],"predecessor-version":[{"id":575,"href":"https:\/\/loftocean.com\/doc\/loftloader\/wp-json\/wp\/v2\/pages\/557\/revisions\/575"}],"up":[{"embeddable":true,"href":"https:\/\/loftocean.com\/doc\/loftloader\/wp-json\/wp\/v2\/pages\/574"}],"wp:attachment":[{"href":"https:\/\/loftocean.com\/doc\/loftloader\/wp-json\/wp\/v2\/media?parent=557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}