Mohamed Sobhy
Sep 14, 2020

In this tutorial, I am going to explain and verify how to promote JavaScript code to speed your website load time which really matters to reach higher SEO rankings. Google found that as the average page load time drops, users are less likely to leave your site right away.

Do you suffer from slow loading speed of your website?
Does that drops your SEO ranking?

How to find the Best Solution to Promote JavaScript and your Website Load Speed for Higher SEO Rankings?

I had searched too much to find out the best solution that could significantly raise your webpages load speed and so reach higher SEO rankings. Let me show you how this worked.

how a JavaScript project file may look like after development

This image shows a snapshot for how code lines in an original JavaScript project file may look like after development, it’s normally full of line breaks, white-spaces, tab indentations, comments, repeated strings, jsons, variables and extended functions.

In order to measure remarkable load timings, we decided to perform a test on a long JavaScript project as well popular and used by most developers. Therefore, we carried out the test on the jQuery library file which constitutes the best simplified version of JavaScript (as shown in the above snapshot without being minified).

Steps followed to Perform a Load Speed Test on a webpage with original and upgraded JavaScript files

The test is to load the same webpage several times, all including a JavaScript file of same code content but each time with five different formats (one original and four upgraded) as follow. Where, the load time is recorded for each of these five formats, and the test is repeated for each JavaScript file for twenty times then the average load time is calculated per file.

Procedures of Load Speed Test on a webpage

Where, the original JavaScript file is called as upgraded after applying minification and re-formatting. In minification, the line breaks, white-spaces, tab indentations and comments are removed. As for re-formatting, the jsons and functions are converted to better loading forms, as well strings are encoded and moved.

Results and Conclusion of the Load Speed Test on a webpage including JavaScript file of same content but different formats

plot of load speed test by infoapper

As plotted, the average webpage load time is drawn against each test file, and the third case - one upgraded by minification and reformatting only the jsons and functions - provided the quickest loading speed better than the original file with 20% faster. Actually, it is faster than 20% because about 8 out of 20 loads recorded > the average load time and 12 out of 20 loads recorded < the average load time for all files. Meanwhile, the loading speed for all upgraded files are faster than the original file with min of 22.3% to 32.6% and max of 77.9% to 85.4% as shown in the next plot.

plot of load speed test by infoapper

This plot shows the min, average and max webpage load time are drawn against each test file, and is more explanatory than the previous plot and we could notice plenty of conclusions as follow:

Try the Load Speed Test by Yourself on a webpage with original and upgraded JavaScript files

We provide you below with "Tryit" pages for testing load speed of the five jQuery files as to try this test by yourself.

Direct Link to the Supper Tool used to Upgrade and Promote the JavaScript files

I have used a fantastic tool which had been provided by InfoApper since Dec 2017, and now verified to provide users with the remarkable promotion for their JavaScript files that allows to boost their website load speed upto 60% faster or even more. Before I give you the link of the tool, I recommend to read the Manual Guide on How to use JavaScript Promotion Tool then click next button to go to the Tool webpage:

How to Promote JavaScript To Speed The Loading Time Of Your Webpages For Higher SEO Performance

Where to download 60%-faster jQuery Library with all Test Files

We provide you below "Download" pages for the five jQuery files for your convenient use. You can even use the third file in your website to boost your website load speed upto 60% faster.

The above tool is also verified to provide users with the remarkable conversion for their JavaScript files that allows to protect and inject various controlling code or even more as explained in detail in "How to Secure your JavaScript Code from being Copied by Competitors" article.

Thank you for reading the above article and you welcome to leave your comments below.


  • Practical Experience
About the author

Mohamed Sobhy

Mohamed is a freelance web designer, recreational software developer, author and CEO of . Also, has passion to learn and transfer the know-how of every valuable thing.
Views: 553
0 Comment Guest
Recommend 0
Sort by Newest
Be the first to say something...

Ask Community

Ask questions and Share knowledge with Community

Find below recent posts for automation solutions with questions and answers by community. You can search in past threads or post new question about your assignment with detailed description, and always could mark your question as request. Sharing knowledge are highly appreciated by answering on others questions, and in return awards will be decided.

Recent Questions
i need to know how to convert 723,413,000 sq mm into mm2.
How to convert kg/m3 to kn/m3

  View More

× Close