Connect with us

autoptimize

How to Preconnect 3rd Party Domains on Your Site

Published

on

Preconnect 3rd Party Domains


When you are testing your site’s front-end performance using an online tool such as GTmetrix or WebPageTest you will notice the 3rd party domains that are being connected to on the site.

One way to improve the front-end performance for site visitors is to set 3rd party domains to be preconnected by the visitor’s browser.

Third-party domains that are worth setting as being preconnected to would be CDNs, Image CDN, Web font-s, Facebook Connect, Google Analytics, etc.

Picking the most critical third-party domains should be the ones that you focus on first on your site.

Two easy plugin methods to be able to set 3rd party domains to be preconnected as Pre* Party Resource Hints and Autoptimize.

Pre* Party Resource Hints - Preconnect 3rd party domains

To use the Pre* Party Resource Hints plugin you need to install and activate the plugin from WP.org and it will add a new admin menu in wp-admin;

Pre* Party

Pre* Party Resource Hints

Manage all your WordPress sites with the MainWP Dashboard

WordPress Management for Professionals

All MainWP Pro Extensions are available through one of our convenient bundled packages.

You can then set the 3rd party domain to be preconnected to in the settings.

The Autoptimize plugin includes a number of site performance optimization besides the preconnect 3rd party domains which can be found in the following admin menu on the site.

Settings > Autoptimize > Extra

Using either of the two plugin options will allow you to be able to preconnect to 3rd party domains on your site and will help improve the front-end load time for site visitors.

Useful Links



Source link

Continue Reading
Click to comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.