Increase Speed of Website by Eliminating Website Dependencies on Remote Resources
Anytime a visitor or search engine visits one of your web page's, a request, by the web browser, is made to your web server for the desired web page. A web page is made up of many elements including text (usually the fastest to load unless your website uses a remote font like Google Fonts), images, video, scripts and other objects required to make the web page display correctly.
To have the fastest loading web pages, make sure the proper displaying of your web pages does not require any one of these resources that does not already reside on your web server. Scripts are the most common externally dependent files. If you are using Wordpress making your website 100% independent is almost impossible.
How to See Which Web Page Resources are Externally 🌏 Dependent
To find out what the external resources the loading of your web pages requires, simply ...
- Navigate your web browser to any of your (or another sites) web pages.
- Make sure your mouse is not over an advertisement, video or image and right click.
- From the pop up menu click
View Source
or View Source Code
. - Press
CTRL + F
on your keyboard to bring up the web browser search box. - Type in the search box
src=
and look at the urls of everything that is highlighted.
Any urls the do not reside on the website you are viewing is an external dependency. The more of these there are on a web page the slower it is going to be for that web page to fully load and fire the document_complete
event which is directly related to the speed score your web pages are going to reflect within Google Page Speed Insights.
Increase Speed Of Website View Websites Dependencies On External Scripts.
Increase Speed Of Website View Websites Dependencies On External Scripts.
What to do About Web Page Resources that are Externally 🌏 Dependent
Here is what you can do to eliminate your web pages dependencies on external resources or at least significantly reduce the impact they have on the load and display speed of your web pages:
- Download the external resource and host it on your own web server.
- Eliminate it altogether. Does your Wordpress site REALLY need that cool thing that makes it look like its snowing on your web page?
- Delay the loading of the external resource.
Another thing to consider is any external file your web pages require is a potential security breach in the sense that you have no control over it since you don't own it. If you care about your websites visitors at all, that alone should scare you enough into taking the steps need to eliminate or significant reduce your websites need for external objects and scripts.