about summary refs log tree commit diff
path: root/bskyweb/templates
diff options
context:
space:
mode:
authorEvandro Leopoldino Gonçalves <evandrolgoncalves@gmail.com>2024-02-14 00:13:23 +0100
committerGitHub <noreply@github.com>2024-02-13 23:13:23 +0000
commit836cff306e3485f894cba7c7a4245178745bbfa5 (patch)
tree16c66dfe1dead9440accc7f5430d888ee32c970e /bskyweb/templates
parent08525b52c3b5ea7128ad87d0231c5a852b5495a6 (diff)
downloadvoidsky-836cff306e3485f894cba7c7a4245178745bbfa5.tar.zst
Adds `preconnect` links to essencial external domains (#2847)
* adds preconnect links to essencial external domains

* adds preconnect links to essencial external domains in the base.html template

* fixes formatting issue
Diffstat (limited to 'bskyweb/templates')
-rw-r--r--bskyweb/templates/base.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html
index 7513d6fd2..a2d81fc96 100644
--- a/bskyweb/templates/base.html
+++ b/bskyweb/templates/base.html
@@ -4,6 +4,11 @@
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, viewport-fit=cover">
   <meta name="referrer" content="origin-when-cross-origin">
+  <!--
+    Preconnect to essential domains
+  -->
+  <link rel="preconnect" href="https://bsky.social">
+  <link rel="preconnect" href="https://bsky.network">
   <title>{%- block head_title -%}Bluesky{%- endblock -%}</title>
 
   <!-- Hello Humans! API docs at https://atproto.com -->