HackingUniversity - Hacks . Tricks . How-To's

03 June 2014

Improve Blogger Loading Speed using these Tips & Tricks

Google initially revealed that it had actually started using page speed into website's ranking algorithm. Now page speed algorithm is among the most trending issues to both web designers and blog writers when it concerns SEO. Yet, no matter the algorithm weight page speed carries positions, we do understand that it has a considerable influence on website conversions. Page speed plays an essential part for any site when it impacts loss in sales whether site visitors need to await a page to load every second. So we do comprehend well exactly how considerable the page speed is any company, business blog site, online forums even social media sites on the internet.

blogger-speed-optimizations

To blogspot users page speed is a hectic issue since blogger default templates include XML format which produces a mix of XHTML(a complex language of HTML and XML) and it supports barely some functions that can take care of mistakes (approximately 3 issues could be repaired and brought) of Google Page Speed Insights reported to a Blogspot Template.

How to Improve Blogger Loading Speed

Today we 'd talk about some fundamentals and advanced modules that i believe might deal with blogger templates mistake and assist your blog site to maintain a great page speed according to Google Page Speed Insights reports.

  1. Optimize Images

    To increase page speed even with the slower net connection images are needed to be enhanced in appropriate formats that the majority of the net browsers support. This policy activates when Google PageSpeed Insights identifies that the images which are compressed can produce a particular amount of decrease of pageload and need to be enhanced to decrease their size without substantially affecting their visual quality.

    Below are some suggestions we think about to keep your images appropriate in format and browser friendly.
    1. Tools To Optimize Images

      There are 2 sorts of optimizations on all images, one is standard and another is advanced. Fundamental optimization consists of cropping unneeded areas from an image, decreasing depth of colors to the most affordable appropriate level, eliminating remarks from image, and conserving the file to a proper format. You can carry out fundamental image optimization with any image editing program, such as Adobe Photoshop, Grant, GIMP. Advanced optimization just includes more (lossless) compression of JPEG and PNG files. You can carry out innovative optimization with lossless compression on JPEG and PNG files utilizing following devices
      1. For JPEG We Recommend
        • jpegmini - lossy (30-50 % decrease).
        • jpegcrush - like jpegrescan) is lossless (5-10 % decrease).
        • jpegtran or jpegoptim - readily available on Linux just.
      2. For PNG We Recommend
        • pngquant - advised.
        • pngnq.
        • OptiPNG or PNGOUT.
      3. For Gif We Recommend
        • gifsicle - advised.
    2. Output The Image On Appropriate Format
      • PNG's: Almost the very best format to produce sizes (smaller sized, medium and average) without any loss in quantity. PNG files are typically smaller sized than TIFFs. PNG likewise supports alpha openness (soft edges) and was established to be a Web graphics replacement for GIF
      • GIF's: If you require images less than 10x10 pixels in sizes, or a color combination of less than 3 colors then Gif is the very best format for you. Usually we utilize this format to produce website favicon
      • JPG's: This format is for all kinds of photo - designs animation

        Note: We do not suggest utilizing BMPs or TIFFs format to produce your image. Being outdated formats they are used really less.
    3. Implementing Lazy Loading Script

      Lazy loading script for images in blogger simply enhances the overall loading of all the images, once can easily implement this script easily and then whenever someone open's your post your images will be loaded a little later hence increase in page speed and even you get an awesome image fading effect..
  2. Host Images on Secured and Reliable Server

    We discovered the best ways to reshape images with lower compression and crop images in an appropriate format that can be supported by every significant browsers even the older variations. Now in this term we'd discover ways to host images on a protected and dependable server so that they can be made use of in blogger template development. Normally blogger supports a complimentary image hosting service in partnership with Picasaweb (Fast and simple picture sharing from Google).

    Likewise Picasa provides you a bigger storage of 1 Gigabyte disc area for image hosting and the uploaded images are likewise offered in Google Image Searches. Images that are submitted on Picasaweb and the provided URL are made use of in Blogger templates making template resources loading faster than any other 3rd party picture sharing provider given that Picasa utilizes a certain format http://1.bp.blogspot.com to provide images that assists blogger design templates load any image about 4 times quicker.

    You can likewise make use of Yahoo's complimentary picture sharing service Flickr to submit images and use in blogger design templates considering that Flickr provides your an enormous storage of 1 Terabyte disc area and supports pictures, videos, audios, and other rich media format to share online. The provided url from Flickr is clever, browser friendly and length is less than Picasa's image url likewise the images are readily available on Yahoo Image Searches, see a contrast.
    • Image Hosted on Picasaweb

      https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik-bV5JI8TucU5a3-fEywZLkGXcmqQ3iCbURlmXFY4YxpUxeAldtD_gslbVOHI-wLb8Y1nB5RzGd07QVqRPCXFM6MuqUqIFWQOppBhhJuSdeV3ly5osyEsB4lMkdAA1Bcjzs3yK11yz1g/s1600/navbar1.png [most likely to be larger in length]

    • Image Hosted on Flickr

      http://farm4.staticflickr.com/3747/11510753774_e82d538a13_o.png [much smaller sized in length]

  3. Give Properties to All Images

    Every resource that is utilized in web site or template development needs to have home. Exactly what is home in this term simply? Let me go over. In the language of internet development home indicates the condition of any aspect that we utilize in internet development such as home of internal, external links, videos, audios, images, texts, sitemaps, archives, pages and great deals of resources that we utilize to develop our blog site or internet site.

    So images are needed to provide homes such that Alt, Title, Rel and so on characteristics. Thus Rel and Title characteristics are very little essential however the most vital is Alt tag because there are some older variations of browsers can not load image that does not consist of Alt tag or reveals mistake when a prospect land on a page. So we can state in a word Alt provides the address of any image and robotics likewise track images that include Alt tag.

    In blogger you can quickly offer home of any image making use of default post editor. As soon as you submit an image hold you cursor on the image and click as soon as (now two times) > You can see a light blue tab below the image that has some a number of choices consisting of Property > Click on that link and you'll be offered both Title and Alt associates > Now provide a suitable Title and Alt and attacked Ok > You're done!

    You can likewise connect Title and Alt tag by hand with your blogger design template when tailoring, utilize the following format when including an image url on your design template with code.

    <img alt="Your Alt Text Here" src="Your Image URL Here" title="Your Image Title Here"/>

  4. Make Your Template Structure Simple

    Blogger templates are structured in .XML(extensible markup language) format which showcases both CSS, HTML and additional Scripts in one simple file. A routine blogspot template goes with 60Kb - 80Kb in size and all the aspects load asynchronously by browsers. To make a blogspot template that includes the most significant alternatives to be an expert outlook of a blog site likewise covers up to 80% of page speed (According to Google PageSpeed Insights) is really intricate and harder for any property developer given that to identify a design template with all aspects need added scripts like jQuery, JavaScript even advanced shows code CSS3 and HTML5 however these codes will produce Render-Blocking Resources by browsers and your page speed will get slower immediately.

    However I tested mine page speed and I got like 75 score out of 100 which is not bad but obviously not good too, well I am getting less score as I have using few heavy scripts on my sites that blocking the overall loading process.

    Below are few of my suggestions to produce a basic structure of blogspot design template that works well and performs good.
    1. Include CSS code on a standard [line after line technique] this assists browsers render pages quicker.
    2. Attempt to utilize just colors to create your blog site without utilizing image url.
    3. Do not make use of duplicated code within CSS part.
    4. Keep your website length less than 1000px and eliminate additional more areas in between sidebar and post-body.
    5. Do not make use of images in footer background due to the fact that it makes browsers additional loaded when readers attempt to much faster scroll down your pages however it will render gradually.
    6. Attempt to get rid of using footer tab.
    7. Do not utilize additional 3rd party plugin although they develop even more design however this will make your blog site additional loaded.
    8. And lots other things connected to make a basic and expert structure of blogger design template..
  5. Eliminate Render-Blocking JavaScript

    In blogger there is a default widget package css which you can not discover on your design template and it is being connected by blogger as default once the resources are loaded by browsers. Google PageSpeed Insights discovers it and reports blogger users to eliminate that rendered-blocking widget package css given that it develops a decrease of 61 % of your whole pageload. Check out the following tutorial and discover ways to repair this mistake.

    Check out: Remove Blogger Default Widget Bundle CSS. [Upcoming]
  6. Eliminate Unnecessary Scripts from Your Template

    Blogger templates are coded in such method that all the aspects are organized in one XML folder. So when we concern establish any template occasionally we include additional code however we do not see to it the script is definitely made use of whereas all the codes are loaded and unneeded scripts make the browsers load additional time, that's true problem for any blogger! Occasionally we include numerous jQuery plugins however we don't care about this, once again making use of only one jQuery code can run number of our widgets so we require to test and not to include more and more duplicate JavaScript's.

    For instance i run 2 widgets (Notification Bar and Blogger + Google Comments Widgets) utilizing one jQuery variation (jQuery ver 1.4.0) so i need not include numerous jQuery plugins. Likewise we include even more widgets with various css code and at a particular time we get rid of the widget however we do not keep in mind eliminating the css code likewise(which is an unneeded code) so these codes make your blog site to load slower. So beware and utilize the maximum coding that are required for your design template and remove unneeded scripts.

    Note We include several widgets utilizing Blogger default 3rd party performance(HTML/JavaScript) so we have to make sure utilizing optimal code if we have actually jQuery plugin set up currently we should not include further. Likewise make sure utilizing Google Apis, Google Plus Plugin, Twitter Plugin, and other social plugins only one time and attempt to install them on your template source code in between <head>....</head> tag.
  7. Appropriate Uses of JavaScript, Customized CSS and Google Hosted Libraries

    Now concerned my bottom line of this whole conversations. Many a time we make use of customized css bit utilizing link such as below.
    <link href='Your CSS Snippet Link' rel='stylesheet' type='text/css'/>However i highly advise not to utilize custom-made css in this technique however utilizing the whole source code on your design template would be right much better option given that this customized link produces Render-Blocking by browsers and lastly your PageSpeed gets decreased more than 40 % according to Google PageSpeed Insights reports. You should include the customized css code right above the ]]></b:skin> tag like I normally instruct you in every blogger based tutorial I pass out, else you can just paste the CSS code in the <style> tags but for that we need to do a little hack which we will see in next post.

    So similarly if you are using JavaScript in your blogger blog, then you should use the following way to execute the JavaScript.
    <script src='Your JS Snippet Link' type='text/javascript'/>Well the suitable way is to use the below method and add the whole code right above the </head> tag.

    <script language='JavaScript'>
    //<![CDATA[

    Your JavaScript Code Here

    //]]>
    </script>

    Well you can also use the below code instead of above.

    <script type="text/javascript">
    /* <![CDATA[ */

    Content of Your JavaScript Goes Here

    /* ]]> */
    </script>

    • So why we actually use CDATA Tag ?

      A CDATA(character information) area is needed if you require your file to analyze as XML (e.g. when an XHTML page is interpreted as XML) and you wish to have the ability to compose literal i<10 and a && b instead of i&lt;10 and a &amp;&amp; b as XHTML will analyze the JavaScript code as parsed character information(PCDATA) rather than character information by default. This is not a problem with scripts that are kept in external source files, but for any inline JavaScript in XHTML you will most likely wish to make use of a CDATA area.

      Keep in mind that numerous XHTML(A mix of the versatility of HTML with the extensibility of XML) pages were never ever planned to be analyzed as XML where case this will not be a concern.

      For a great write-up on the subject, see http://javascript.about.com/library/blxhtml.htm

      Even you can include larger scripts like jQuery Plugin utilizing this approach without utilizing the script link. This will safe your design template structure and assists browsers load resources really much faster without developing any Render-Blocking problems
  8. Uses of Default and Custom-made Fonts

    If you utilize customized blog design template, then i advise to set any of the windows default typeface as your body typeface (i.e. Arial, Helvetica, Tahoma, Verdana and so on) because these font styles load extremely quicker and all the webkit browsers (older and more recent variations) support it. However if you want to utilize custom-made typeface (i.e. Google font styles) then i suggest you utilizing the source code of the font style on your design template so that it will pack asynchronously and keep your PageSpeed up however making use of customized font style. Use the following method to pack Google font styles asynchronously.

    @font-face {
      font-family: 'Droid Sans';
      font-style: normal;
      font-weight: 400;
      src: local('Droid Sans'), local('DroidSans'), url(http://themes.googleusercontent.com/static/fonts/droidsans/v3/s-BiyweUPV0v-yRb-cjciBsxEYwM7FgeyaSgU71cLG0.woff) format('woff');}

    Include the above bit on your template right prior to closing </b:skin tag as a regular css and take pleasure in the custom-made font style without slowing your PageSpeed.

    Now you can get the location by utilizing the following below format, simply copy the Bolded line of code.

    <link href='http://fonts.googleapis.com/css?family=Droid+Sans:400' rel='stylesheet' type='text/css'/>

  9. Material Representation of FrontPage

    Among the bottom lines still i feel essential to work out with you all. In this term we 'd go over exactly how you can represent your material from FrontPage so that it can assist browsers to pack widgets correctly. Follow the guidelines below i believe it will assist to stand for browser friendly material.
    1. Keep 7 posts default on your frontpage, even a lower number than this will assist browsers pack your blog site frontpage quicker.
    2. Do not keep more than 3 banner advertisements on sidebar attempt to utilize post-body area to position various advertisement designs.
    3. Summarize your posts utilizing Find out more link; advised short article.
    4. Attempt to utilize restricted social sharing buttons on front page (I suggest making use of Add this vertical sharing buttons rather making use of custom-made, even you can run add this script asynchronously on your design template).
    5. Keep restricted widgets on footer area this will assist your pages scroll down/up much faster and please readers when checking out posts.
    6. Attempt to utilize just header background color code not any image url (this will make your website more quicker)

      I believe these points will assist you to load your blog and its widgets little quicker hence increasing your blog productivity.
  10. Avoid Landing Page Redirects !

    This policy sets off when PageSpeed Insights identifies that you have more than one redirect from the provided url to the last landing page. In blog writer this is not any significant difficulty since blog writer makes use of a default url format like this: http://abc.blogspot.com, in some cases this occur that you moved your blog site from blog writer to wordpress(or other blogging platform) however your old blogspot url is still staying on the online search engine so when individuals will access your website utilizing previous url then they will get a landing page redirection and this will trigger page speed slower.
    • The best ways to Repair It

      You can either erase your sitemap url or entirely eliminate the website from Google Web designer Tools and await 2/3 months your all the pages consisting of old blogspot url will be entirely eliminated and this trouble will be dealt with effectively.

Right here i have actually employed a couple of even more fancy things so that you can comprehend the fundamentals of pagespeed and related other threads. It's seriously real that total 50 % of your pagespeed relies on the website useful function, so when you establish a website you have to follow the referrals of specialists and expert internet designers. Right here i have actually provided a couple of methods that you can make use of to develop blogspot design templates, and this is by no suggests an extensive list.

Now let me understand exactly how you enjoyed this pretty long article, if you discover it useful always remember to show your love by sharing it on social networks. If you have even more factors to consider you can recommend me through the below blog commenting option, I will try to add that with your name link :)