We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a742b6 commit 3cd5f6aCopy full SHA for 3cd5f6a
iframe.html
@@ -0,0 +1,22 @@
1
+<!doctype html>
2
+<html lang=en-gb>
3
+ <meta charset=utf-8>
4
+ <meta name=viewport content="width=device-width, minimum-scale=1.0">
5
+
6
+ <title>preconecting iframes</title>
7
8
+ <link rel=preconnect href=https://harry.is>
9
10
+ <script>
11
+ function longTask(ms) {
12
+ const start = Date.now();
13
+ while (Date.now() - start <= ms) { true }
14
+ console.log('[Main] INP Long task complete.')
15
+ }
16
17
+ longTask(1000);
18
+ </script>
19
20
+ <h1><code>preconnecting</code> <code>iframe</code>s</h1>
21
22
+ <iframe src=https://harry.is/ loading=lazy></iframe>
0 commit comments