" From Blogger Blog Only?"/>" From Blogger Blog Only?"/>" From Blogger Blog Only?"/>" From Blogger Blog Only?"/>
LATEST >>

Welcome Here And Thanks For Visiting. Like Us On Facebook...

EXEIdeas – Let's Your Mind Rock » Blogspot / Blogspot Tricks » How To Clear “Level Browsing Cache” Error In Blogger?

How To Clear “Level Browsing Cache” Error In Blogger?

How To Clear "Level Browsing Cache" Error In Blogger?

Here this one is from the series of “Speed Up Your Blogger Blog” article. As we have shared before many article to speed up your Blogger blog that are listed below, here we are with another one that many are asking too. As you know that Level Browsing Cache can only be fix through .htaccess file that is not accessible in Blogger so in first step the answer is no but we can change it to yes too. We can remove all errors that are mention in Level Browsing Cache. So we are going to do it below.

Level Browsing Cache Of Images:

You can also see your Blog images in Level Browsing Cache error via Google Page Speed Insight if your images are not compressed. Now if you want to clear out all images error then compress and optimize your image before uploading. There are many tools that compress and optimize your images and one of the best is Yahoo! Smush .it. Though using this tool on every image will make your all images out of Level Browsing Cache error.

Level Browsing Cache Of Script (Google Plus One):

This one is same as How To Remove/Hide Blogger Official Widgets JS In Your Custom Template? but this time, we are not removing blogger whole official JavaScript files that may cause problem while you have widgets like popular post, label, blog archive etc. But the question is what to do with “<script type=”text/javascript” src=”https://apis.google.com/js/plusone.js”></script>” that is not important for every blogger and eating 34kb that many also added it manually and many don’t want it. If you ever checked your site at “Google Page Speed Insight“, you have experienced the below pic.

How To Clear "Level Browsing Cache" Error In Blogger?

So by using this tweak, only your “<script type=”text/javascript” src=”https://apis.google.com/js/plusone.js”></script>” will be deleted and the rest will be as it it so that mean your all widget will keep working. Now without any more preface, here we comes directly to the tutorial.

Features:

1.) Simple But Effective Editing.
2.) Easy To Use And Quick To Load.
3.) Will Remove Blogger Official Google Plus External JavaScript File But Will Keep Widget Official JavaScript File.
4.) It Will Help The Blog To Quick The Load.
5.) It Will Convert JavaScript File And Code File Code In HTML Comment.
6.) It Will Remove The “Level Browsing Cache” Of Your Blog In “Google Page Speed Insight“.

Explanation:

This tutorial is not real removing the code, but this tutorial is make that code is ignored by browser and not make blog JavaScript code replaced. It’s simply this tutorial is just converting that code to HTML comments, why HTML comments?, HTML comments is ignored by browser, because that I just converting but not removing, and this tutorial can effecting page speed score in “Google Page Speed Insight“…..

How To Hide Google Plus JavaScript?

1.) First “Open” Your Desired Blog In Browser.
2.) Now Press [CTRL+U] And Scroll To End And See Your JavaScript That Will Be Like Below
<script type=”text/javascript”> if (window.jstiming) window.jstiming.load.tick(‘widgetJsBefore’); </script><script type=”text/javascript” src=”//www.blogger.com/static/v1/widgets/31158986-widgets.js”></script> <script type=”text/javascript” src=”https://apis.google.com/js/plusone.js”></script>  <script type=’text/javascript’> // A Lot Of JavaScript Codes Goes On Here… </script>
3.) Now Copy These All Codes And Close Your Blog.
4.) Go To Your www.blogger.com
5.) Open Your Desire “Blog“.
6.) Go To “Edit HTML“.
7.) Click In Blogger Code Box And Press [CTRL+F] To Find “</body>“.
8.) Now Copy The Below Code And Replace It With “</body>“.

&lt;!--</body>--&gt; &lt;/body&gt;
9.) Now Paste Your Copied Code That Your Copy In Step 3 Before "&lt;!--</body>--&gt; &lt;/body&gt;". 10.) Here, "Remove" <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> From Your Just Pasted Code. 11.)Then "Save" Your Template. 12.)You're Finished...!!!

Error/Bug While Saving?

Now if you will save your template then you will got some error like "The element type “script” must be terminated by the matching end-tag ". So to clear out this you have to add widget JavaScript in CDATA tags that we showed below. Then save it. It will be gone.
<script type="text/javascript">
//<![CDATA[
//A Lot Of JavaScript Code Goes On Here...
//]]>
</script>

Checking:

Open your blog, then CTRL+U, and scroll to the end of your blog view source.
<script type="text/javascript"> if (window.jstiming) window.jstiming.load.tick('widgetJsBefore'); </script><script type="text/javascript" src="//www.blogger.com/static/v1/widgets/31158986-widgets.js"> </script> <script type='text/javascript'> // A Lot Of JavaScript Codes Goes On Here... </script>
<!--<script type="text/javascript"> if (window.jstiming) window.jstiming.load.tick('widgetJsBefore'); </script> <script type="text/javascript" src="//www.blogger.com/static/v1/widgets/31158986-widgets.js"> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> </script> <script type='text/javascript'> // A Lot Of JavaScript Codes Goes On Here... </script> </body>--> 

If you found that code in page source at the end and all the colour of that is black, it means the JavaScript link and codes is ignored by browser and you're success and now your blog are free from external Google Plus JavaScript and widget JavaScript files will work well that can make your blog loading time up.

WARNING...!!!

Whenever you will want to add new widgets after doing this tweak, just remove this whole tweak by uploading your backup template and add your widget. Now start this tweak again and do all the steps as mentioned below.

You Like It, Please Share This Recipe With Your Friends Using...

6 Responses to “How To Clear “Level Browsing Cache” Error In Blogger?”

  1. mohammed shakir namshad says:

    I followed your steps, at the end finding The element type “script” must be terminated by the matching end-tag ” error

  2. iliyas shaikh says:

    assalamu alaykum
    dear brother me samja nahi please explain

  3. Dear EXEIdeas I would like to implement your trick, but Im not even able to find that first code.. can you have a look on the code of my blog? Thank you

    • EXEIdeas says:

      The Steps Are Really Easy. If You Are Not Able To Do This Then Email Us Your XML File So We Will Edit That Then You Can See Out Editing…

Leave a Reply

Your email address will not be published. Required fields are marked *