Seo Master present to you: By Steve Souders, Member of Technical Staff
I've been working on a follow-up book to High Performance Web Sites called Even Faster Web Sites. As I finish chapters, I talk about the findings at conferences and tech talks. The first three chapters are Split the Initial Payload, Load Scripts Without Blocking, and Don't Scatter Inline Scripts. You can hear about those best practices in my video from Google I/O.
This talk presents the next three chapters: Couple Asynchronous Scripts, Use Iframes Sparingly, and Flush the Document Early.
The adoption of JavaScript is growing, but the blocking behavior of external scripts is well known. That's why it's important to use one of the techniques to load scripts without blocking (see the Google I/O talk). But loading scripts asynchronously means that inlined code that uses symbols from the script must be coupled in some way. Without this coupling, undefined symbol errors occur when the inlined code is executed before the external script arrives.
There are five techniques for coupling asynchronous scripts: hardcoded callback, window onload, timer, script onload, and degrading script tags. All of the techniques work. Degrading scripts tags is the most elegant, but isn't well known. Script onload is the most versatile technique and is the one I recommend people use. In the talk, I then go into detail, including many code examples, on how to load scripts asynchronously and use these coupling techniques to speed up your web page.
Iframes have a negative impact on web pages. They are the most expensive DOM element to create. They block the parent's onload event (although there's a workaround to this problem in Safari and Chrome). Also, the main page can block resources in the iframe. It's important to understand these interactions if you use iframes in your page.
Flushing the document early allows the browser to start rendering the page and downloading resources in the page, even before the entire HTML document has arrived. But getting flushing to work can feel like trying to get the stars to align. You need to understand PHP's output_buffering, HTTP/1.1's chunked encoding, Apache's DeflateBufferSize, the impact of proxies, minimum HTML size requirements in Safari and Chrome, and the need for domain sharding to avoid having the HTML document block other downloads.
If your company wants a better user experience, increased revenues, and reduced operating costs, the key is to create even faster web sites. For more information on these best practices, watch the video below and read the slides.
Check out other talks in this tech speaker series:
Good news for all our blog subscribers and followers. I am happy to announce our blog's first contest. Participating in the contest is really easy and 3 lucky winners will get a chance to advertise their blog or website on our blog to increase traffic to their blog for 1 month completely free. To participate in the contest just follow instruction given below.
About Contest
Contest will start from today 10 march 2013 and will end on 10 april 2013. Three winners will be choosen randomly and will be given a free ad spot to advertise their blog on MBW. One winner from Facebook one from Twitter and last one from Google+ will be selected.
First Position - 468 x 60 Adspot In Header Area
Second Position - 125 x 125 Adspot on Sidebar
Third Position - 200 x 200 Adspot on Sidebar
How to participate ?
To participate in the contest you need to like us on facebook, follow us on twitter and +1 on Google+ (Subscribing is optional)
Aside from 3 lucky winners. If you subscribe to our blog and are regular followers of MBW you will be rewared with free resources in future such as stylish buttons,templates and more. As we serve our loyal subscribers explicitly.
Winners will be announced on 15 April 2013. Leave a comment if you have any question.
Seo Master present to you: Even though the Chrome Web Store launched in the US just a few months ago, some developers are already seeing great results. From games to productivity apps, the store has helped all kinds of web applications grow.
The Chrome Web Store can help you acquire more users really fast: For example for Todo.ly, users of the Chrome Web Store app account for more than 50% of the web site’s traffic.
Chrome Web Store users are very engaged with apps: Springpad and Wikinvest report that Chrome app users spend up to 100% more time interacting with the app, than a typical visitor spends on their regular website.
You can improve the monetization of your app through the Chrome Web Store: Premium apps like the World Golf Tour and Sliderocket report significantly higher conversion rates for Chrome app users than the rest of the user base and a growing percentage of business leads originating from the store respectively.
Posting your app in the store requires relatively little effort: The app publishing process in the store is smooth and required little to no custom work for all the developers, profiled in the case studies.
If you are interested in publishing your app in the Chrome Web Store or learning more about how the Chrome Web Store can help your business, explore our developer documentation and join us in our developer forum.
By Christos Apartoglou, Product Marketing2013, By: Seo Master