Skip to main content

+1 Button JavaScript Again Changed To Reduce Browser CPU and Memory Usage


A month ago there was change in the Plus One button load speed it was claimed to be made 20 percent faster.

Google+ Developer Team is working hard to make the Plus One (+1) Button load faster. The latest change being in it's JavaScript. The current change reduces browser CPU usage and memory usage for the site using the +1 button.



How The Change Will Work?

According to the latest change, the button JavaScript code will load with the button itself. But it will show effect when the user has interaction with button by clicking it or on hover.

This news was released in the Google+ Platform Preview Group by an email. The mail says:

We’re making a change to the +1 button’s JavaScript code today. Thischange will first roll out to this preview group and doesn’t requireany change to your site. This change reduces browser CPU and memoryusage for your site by changing how the +1 button JavaScript works.The code will be loaded with the button, but only parse and executewhen the button has interaction, with a focus, mouseover, click, andother relevant events. We hope this will make both your site andbuttons faster and more efficient.
We’re turning on this change for the preview group to give you anopportunity to test the changes on your web site and ensure the +1button functions properly. This change applies to all browsers in allenvironments.
If you do notice any changes to the +1 button while viewing your pageswhile logged into your preview account, please let us know in theGoogle+ Developers Forum:https://groups.google.com/group/google-plus-developers/
To help us quickly troubleshoot these issues, please create a newthread on the forum with the following information:- A link to a page with your issue.- Your web browser and operating system. Make sure to include theversions of both.- A short description of the issue you're seeing.- Whether you can reproduce the issue while you're logged in with yourpreview account.
Thanks for your feedback!
+The Google+ Platform team
What do you think of the change? Leave it into comment section.

Comments

Popular posts from this blog

How to change width of Google+ Badge using CSS

The problem all the bloggers and sites are finding to customize (especially change the width) the Google+ Badge. Now the problem is that most of the templates have 250px sidebar but the Google+ Badge width is 300px.

Basics Of HTML5 for beginners Part II

In the previous HTML5 tutorial ( Basics Of HTML5 for beginners Part I ). I showed some very basic tags. In this I am going to give information about some useful but easy tags and attributes which was not possible with the earlier versions of HTML. They can be helpful in making a site dynamic and in designing. As you know that HTML5 has made the life of blogger and designers HELL!! easy earlier long and complicated JavaScripts were used for some of the functions now that functions can be used as tags in the newer version of HTML.