1.0.4 • Published 4 years ago
gatsby-plugin-dns-prefetch v1.0.4
gatsby-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-prefetchor
yarn add gatsby-plugin-dns-prefetchUsage
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`,
],
},
},
]