Community Plugin
View plugin on GitHubgatsby-plugin-dns-prefetch
Add DNS prefetch metas to Gatsby
Overview
Gatsby plugin to generate metas for DNS prefetch specific domains
Install
npm i gatsby-plugin-dns-prefetch
or
yarn add gatsby-plugin-dns-prefetch
Usage
Add the plugin to your gatsby-config.js
and pass the options
:
plugins: [
{
resolve: `gatsby-plugin-dns-prefetch`,
options: {
domains: [
`https://ext-domain.com`,
`https://ext-domain2.com`,
`https://ext-domain3.com`,
],
},
},
]