Load Mashshare Scripts Asynchronously

Loading JavaScript asynchronously can give your website a performance boost.

Some people asked us to load Mashshare scripts automatically asynchronously during page load. We will not do this as this could lead to any inconsistency on your website when plugins are loaded asynchronously, others not. It also could interfere with plugins which are made especially for the purpose of loading javascript asynchronously.

Best Solution

Best solution would be to use third party plugins like Async-JavaScript which is built for such purpose.
There are also other cache plugins like W3 Total Cache which offers similar functionality to load JavaScripts as async.

Doing it this way allows us to develop in best possible compatibility manner and allows us to follow the WordPress codex of developing plugins.

Still need help? Contact Us Contact Us