feat: Setup preconnect and dns-prefetch for transing.neocities.org

This should improve the one outside request made a bit. overall this website should be super performant now!
This commit is contained in:
BuyMyMojo 2024-12-20 18:24:33 +11:00
parent 8978fbbb81
commit d262948599
2 changed files with 4 additions and 1 deletions

View file

@ -35,4 +35,4 @@ import { Icon } from "astro-icon/components";
height: 1em;
vertical-align: -0.125em;
}
</style>
</style>

View file

@ -17,6 +17,9 @@ const { pageTitle } = Astro.props;
<title>{pageTitle}</title>
<EmbedCode pageTitle={pageTitle} />
<link rel="preconnect" href="https://transring.neocities.org" />
<link rel="dns-prefetch" href="https://transring.neocities.org" />
<link
rel="alternate"
type="application/rss+xml"