Skip to main content

Code Script Bloggers Make you Website And Blog Load Faster

Code Script Bloggers Make you Website And Blog Load Faster





This year is all about a win win Blogspot Bloggers here is a code that will make your website load faster.




<if expr='not(is_ie6()) and not(is_ie7()) and not(is_ie8())'>
<if expr='not(is_feed())'>
<script type='text/javascript'>
//<![CDATA[
var m=1024,n=1048576,p=10485760,q=1073741824,r=2147483648,s=21474836480,t=214748364800;
function u(b){var c=b/t;if(c>=1)return Math.round(c*100)/100+" TB";var d=b/s;if(d>=1)return Math.round(d*100)/100+" GB";var e=b/r;if(e>=1)return Math.round(e*100)/100+" MB";var f=b/q;if(f>=1)return Math.round(f*100)/100+" MB";var g=b/p;if(g>=1)return Math.round(g*100)/100+" MB";var h=b/n;if(h>=1)return Math.round(h*100)/100+" MB";var i=b/m;if(i>=1)return Math.round(i*100)/100+" MB";return b+" B"}function v(b){document.write(u(b))}
//]]>
</script>
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js' type='text/javascript'/>
<script src='https://cdn.rawgit.com/Arlina-Design/redesign/master/gzip.js' type='text/javascript'/>
</if>
</if>

The above code will enable a compression of your website which is known as gzip compression.

<if expr='not(is_ie6()) and not(is_ie7()) and not(is_ie8())'>
<if expr='not(is_feed())'>
<meta content='1y' http-equiv='expires'/>
<meta content='all' http-equiv='access-control-allow-origin'/>
<meta content='true' http-equiv='cache-control'/>
<meta content='public' http-equiv='cache-control'/>
<meta content='7200' http-equiv='cache-control'/>
</if>




The above code will enable your browser caching. All codes should be inserted into your <head> of your blogspot template.

Try this and thank me later.




Thank you 

Source: seoscrib.com

Comments