
    .then(html =&gt; {
        if (html.indexOf('&lt;!DOCTYPE html&gt;') &gt;= 0) return // ignore CDN 404.html
        const pageBody = $1('#app-loading .content')
        if (pageBody) 
            pageBody.innerHTML = `&lt;i hidden data-prerender=&quot;${path}&quot;&gt;&lt;/i&gt;` + html
    })
    .catch(/* no prerendered content found for this path */)
</code></pre>
<p>We also tag which path the prerendered content is for and provide a JS function to fetch the prerendered content
which we'll