Lazy Widget Loader
Minify the Javascript please (1 post)

  1. titush
    Posted 2 years ago #

    Hi there, in a next release, could you please minify the javascript you are using?

    Minifying http://www.../.../lazy-widget-loader.js?... could save 354B (60% reduction) after compression.

    I compressed it to this:

    jQuery(window).load(function(){jQuery.each(jQuery(".lwl-widget"),function(){var e=this.id.replace("lwl-widget-","");var t=document.getElementById("lwl-container-"+e);if(typeof t!="undefined"){var n=t.parentNode;if(typeof n!="undefined"){n.replaceChild(this,t)}}});jQuery("#lwl-widget-contents").remove()})

    Thanks for that!
    Great plugin by the way, just love how it sped up my sites!


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic