[JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring
[JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring - Hello friend blogTut, In the article you read this time with the title [JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring, we have prepared this article well for you to read and take information in it. hopefully the contents of the post [JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance MonitoringArticle , which we write you can understand. okay, happy reading.
Title : [JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring
link : [JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring
I today demonstrate you Facebook lazy loading likebox for your site and auto load content on scroll down, so stop searching to defer lazy loading of Facebook widgets to speed up page loading. The Facebook likebox always downloads extra data when the user visits each time your site which causes page loading time slow. The Facebook developer button with like Box is a special version of the LIKE Button designed for Facebook Pages. Showing "Like us on Facebook page" is easier but it cost much in terms of page loading. This method uses to defer both JavaScript + HTML Facebook likebox button and follows all the rules by Facebook page developer. This technique also lazy load the Facebook content placeholder css while you scroll the pages. The widget code and jquery lazy load content on the scroll. There is special like box WordPress plugins for the custom like button facebook widget that load content while scrolling with jquery. But what about the blogger users? What if the facebook app not loading faster as page load? This tutorial answers for blogger and Facebook widget WordPress code as well to use jquery on the scroll for differ loading of Facebook like fan page by using jquery ajax load javascript. Here I have provided the direct code of widget for Facebook page likebox as a Facebook like page plugin. I suggest you use it with your website not only for faster page loading but for better Facebook marketing. Learn how to add Facebook to the website and how to defer the loading of Facebook like box by lazy load FB JavaScript for making page speed much faster.
In the category of Facebook, last time we have seen how to see locked profile picture hack, and today we are going to focus on page loading. We are going to use the better technique by lazy load script to defer loading of any widget. You can ignore the data downloaded by this widget but you need to concentrate its loading-time because it directly affects to your site loading-time.
Also read; 5 Advanced Tips For Making Blogger Blog To Load Faster
RECOMMENDED: [Facebook Security Alert] Use 3 Passwords To Access Facebook Account // FB Update
A demo is working here on this site, or you can check its performance on Page Speed and Pingdom Page Speed, significantly you will see the changes in the report.
You are now reading the article [JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring with the link address https://probloggersmania.blogspot.com/2018/03/javascript-lazy-load-facebook-like-box.html
Title : [JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring
link : [JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring
[JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring
How to lazy load Facebook like button on the scroll after the page loaded using Jquery? Make Facebook likebox asynchronous to loaded automatically on the scroll. Learn how to lazy load scroll down jquery script files to improve page speed. Here on the problogbooster. I still use the method to asynchronous lazy-load other types of scripts, there is no need of javascript gettime to call it to run. Lazy load Facebook's likebox —I today demonstrate you Facebook lazy loading likebox for your site and auto load content on scroll down, so stop searching to defer lazy loading of Facebook widgets to speed up page loading. The Facebook likebox always downloads extra data when the user visits each time your site which causes page loading time slow. The Facebook developer button with like Box is a special version of the LIKE Button designed for Facebook Pages. Showing "Like us on Facebook page" is easier but it cost much in terms of page loading. This method uses to defer both JavaScript + HTML Facebook likebox button and follows all the rules by Facebook page developer. This technique also lazy load the Facebook content placeholder css while you scroll the pages. The widget code and jquery lazy load content on the scroll. There is special like box WordPress plugins for the custom like button facebook widget that load content while scrolling with jquery. But what about the blogger users? What if the facebook app not loading faster as page load? This tutorial answers for blogger and Facebook widget WordPress code as well to use jquery on the scroll for differ loading of Facebook like fan page by using jquery ajax load javascript. Here I have provided the direct code of widget for Facebook page likebox as a Facebook like page plugin. I suggest you use it with your website not only for faster page loading but for better Facebook marketing. Learn how to add Facebook to the website and how to defer the loading of Facebook like box by lazy load FB JavaScript for making page speed much faster.
Lazy Load Facebook Like Box To Speed up Page Loading |
Also read; 5 Advanced Tips For Making Blogger Blog To Load Faster
Defer Facebook Developer Button
For better page performance this is an essential tip and as the page content is more important than widgets, it is much better to make a delay loading of these widgets so that it will load only when the whole page gets loaded.Lazy Load Facebook Like Box JavaScript
Add following code in your HTML widget:RECOMMENDED: [Facebook Security Alert] Use 3 Passwords To Access Facebook Account // FB Update
<!-- lazy loading of Facebook widget -->
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function() {
$('#fbHolder').append('<div id="fb-root"></div>');
$('#fbHolder').append('<fb:like-box href="http://www.facebook.com/ID" width="300" show_faces="true" stream="false" header="false"></fb:like-box>');
jQuery.getScript('http://connect.facebook.net/en_US/all.js#xfbml=1', function() {
FB.init({status: true, cookie: true, xfbml: true});
});
});
//]]>
</script>
<!-- lazy loading of Facebook widget -->
<div id="fbHolder">
<!-- put here your old Facebook widget box code -->
</div>
You just need to replace blue colored text as per your content. <script type='text/javascript'>
//<![CDATA[
$(document).ready(function() {
$('#fbHolder').append('<div id="fb-root"></div>');
$('#fbHolder').append('<fb:like-box href="http://www.facebook.com/ID" width="300" show_faces="true" stream="false" header="false"></fb:like-box>');
jQuery.getScript('http://connect.facebook.net/en_US/all.js#xfbml=1', function() {
FB.init({status: true, cookie: true, xfbml: true});
});
});
//]]>
</script>
<!-- lazy loading of Facebook widget -->
<div id="fbHolder">
<!-- put here your old Facebook widget box code -->
</div>
A demo is working here on this site, or you can check its performance on Page Speed and Pingdom Page Speed, significantly you will see the changes in the report.
Such is the article [JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring
That's an article [JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring this time, hopefully can benefit for you all. okay, see you in other article posting.
You are now reading the article [JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring with the link address https://probloggersmania.blogspot.com/2018/03/javascript-lazy-load-facebook-like-box.html
[JavaScript] Lazy Load Facebook Like Box To Speed up Page Load Time | Website Performance Monitoring
Reviewed by ProBlog
on
Maret 01, 2018
Rating:
Tidak ada komentar: