Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Defers loading of head scripts

Paul Copplestone7d4c5397cbe6
diff --git a/web/src/theme/Layout/index.js b/web/src/theme/Layout/index.js
index 29d36891a6a..b996410159c 100755
--- a/web/src/theme/Layout/index.js
+++ b/web/src/theme/Layout/index.js
@@ -64,7 +64,7 @@ function Layout(props) {
{permalink && <meta property="og:url" content={siteUrl + permalink} />}
<meta name="twitter:card" content="summary" />
- {headerJs && <script>{headerJs}</script>}
+ {headerJs && <script async defer>{headerJs}</script>}
</Head>
<Navbar />
<div className="main-wrapper">{children}</div>