16 Ultimate Ways To Speed Up Your WordPress Website – Page 6
Fix #14 – Use a Cache Plugin– Every time a visitor loads a page on your site, WordPress looks for the freshest version of that page. This means it has to continuously load the database to retrieve this fresh information. In most cases this loading of the database is totally unnecessary because most pages do not change often after they’ve been created. A cache plugin fixes this problem by making a static copy of your pages and delivering it to your visitors, without loading the database with every visit, also known as caching. This speeds up the loading times of your pages significantly. I personally use W3 Total Cache in addition to my CDN Cloudflare. WP Super Cache is another great plugin that many people love and it rates highly.
Fix #15 – Use Asynchronous Scripts– Using asynchronous scripts can lead to a large boost in your page load speed. Your content can finish rendering without having to wait for the script to finish loading. This is because the asynchronous script is not considered part of the files the page needs to render the first view of your page. A great example of asynchronous scripts are found by those who use Google Adsense Asynchronous Ads along with Google Analytics Asynchronous Tracking. By using asynchronous scripts you will increase the load speed of your website because the loading of Google’s Ads and Analytics will not interfere with the loading of the page.
Scripts that are needed for the initial view of your pages can NOT be loaded asynchronously. These scripts have to load synchronously because your web page needs them to correctly display for the initial view. While not all scripts can load asynchronously other scripts may be candidates to be converted to an asynchronous script. This can be achieved by adding the Async tag to your code.
<script src="yourscript.js" async=""></script>
If you use Google Adsense or Analytics you should check to make sure you are using the current updated asynchronous script. If you have older versions of their scripts on your site you probably are using their old synchronous versions. You should update them with the newer asynchronous versions.
Continue Reading 16 Ultimate Ways To Speed Up Your WordPress Website