Ezoic should use minified code
When we integrate a site with Ezoic, Ezoic Ad Tester adds code on the existing webpage. An example of Ezoic javascript function:
var ezqueue = new Array();
function sortqueue(a, b)
{
if( a.priority < b.priority ) return -1;
else if( a.priority == b.priority ) return 0;
else return 1;
}
function executeezqueue()
{
ezqueue.sort( sortqueue );
for( var i in ezqueue )
{
if(typeof ezqueue[i].method != "undefined")
{
try{
ez_queue[i].method.call( null );
}
catch (err) {
}
}
}
}
Whitespaces should not be used and variables and function names should be as small as possible to reduce page size and to minimise page load time.
-
Chris Jonson commented
As a stomach sleeper who frequently experiences discomfort, your blog has been a lifesaver. I appreciate the in-depth comparisons of different mattress topper materials and their benefits. https://mattresstopperbuddy.com/best-mattress-topper-for-side-sleepers-with-shoulder-pain/
-
jorge333 commented
+1 for code optimization
My pagespeed % drops a lot since on ezoic dns
-
Tahar Kassaoui commented
Happy with ezoic