{"id":2713,"date":"2024-06-13T15:44:15","date_gmt":"2024-06-13T21:44:15","guid":{"rendered":"https:\/\/frontendmasters.com\/blog\/?p=2713"},"modified":"2024-06-13T15:44:16","modified_gmt":"2024-06-13T21:44:16","slug":"a-new-iteration-in-the-pre-loading-journey","status":"publish","type":"post","link":"https:\/\/frontendmasters.com\/blog\/a-new-iteration-in-the-pre-loading-journey\/","title":{"rendered":"&#8220;a new iteration in the pre-loading journey&#8221;"},"content":{"rendered":"\n<p><a href=\"https:\/\/boris.schapira.dev\/notes\/2024-06-speculative-rules-en\/\">Boris Schapira takes a look at<\/a> the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Speculation_Rules_API\">Speculation Rules API<\/a> that we <a href=\"https:\/\/frontendmasters.com\/blog\/playing-with-the-speculation-rules-api-in-the-console\/\">just had a poke at<\/a> around here. Boris notes that this idea of prefetching (or prerendering) the <em>next<\/em> page that a user <em>might<\/em> visit has quite a history. One of the players in this game, which is still a pretty good choice as it&#8217;s more cross-browser compatible than this new API is, is <a href=\"https:\/\/instant.page\/\">instant.page<\/a>, which I&#8217;ve used many times successfully.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Note that the Speculation Rules API is not yet a web standard, but the way it works has so little negative implication on browsers that don&#8217;t &#8220;support&#8221; it, it feels pretty safe to use. We put <a href=\"https:\/\/wordpress.org\/plugins\/speculation-rules\/\">the WordPress plugin<\/a> in place around here. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Boris Schapira takes a look at the Speculation Rules API that we just had a poke at around here. Boris notes that this idea of prefetching (or prerendering) the next page that a user might visit has quite a history. One of the players in this game, which is still a pretty good choice as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2719,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[70,186],"class_list":["post-2713","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-beat","tag-performance","tag-speculation-rules"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/frontendmasters.com\/blog\/wp-content\/uploads\/2024\/06\/pexels-photo-842654.jpeg?fit=1880%2C1253&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/2713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/comments?post=2713"}],"version-history":[{"count":1,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/2713\/revisions"}],"predecessor-version":[{"id":2714,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/2713\/revisions\/2714"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media\/2719"}],"wp:attachment":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media?parent=2713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/categories?post=2713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/tags?post=2713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}