We all want a faster website that’s able to keep up with consumer’s needs, traffic spikes, and loads quickly. Great, but how do we make it happen?
Check out these three tips from Yahoo!’s best web developers for three easy ways to instantly increase your website’s speed: 
A content delivery network (CDN) is a collection of web servers distributed across multiple locations to deliver content more efficiently to users. The server selected for delivering content to a specific user is typically based on a measure of network proximity. For example, the server with the fewest network hops or the server with the quickest response time is typically chosen.
Some large Internet companies own their own CDN, but it’s more cost-effective to use a CDN service provide. For start-up companies and private web sites, the cost of a CDN service can be too high, but as your target audience grows larger and becomes more global, a CDN is necessary to achieve fast response times. At Yahoo!, properties that moved static content off their application web servers to a CDN improved end-user response times by 20% or more. Switching to a CDN is a relatively easy code change that will dramatically improve the speed of your web site.
Moving stylesheets to the document HEAD makes pages appear to be loading faster. By putting stylesheets in the HEAD, it allows the page to render progressively. Front-end engineers that care about performance want a page to load progressively; that is, they want the browser to display whatever content it has as soon as possible. This is especially important for pages with a lot of content and for users on slower Internet connections. When the browser loads the page progressively the header, the navigation bar, the logo at the top, etc. all serve as visual feedback for the user who is waiting for the page.
The problem with putting stylesheets near the bottom of the document is that it prohibits progressive rendering in many browsers. These browsers block rendering to avoid having to redraw elements of the page if their styles change. Leaving the user stuck viewing a blank white page, and who wants that?
A complex page means more bytes to download and it also means slower DOM access in JavaScript. It makes a difference if you loop through 500 or 5000 DOM elements on the page when you want to add an event handler for example.
A high number of DOM elements can be a symptom that there’s something that should be improved with the markup of the page without necessarily removing content. Are you using nested tables for layout purposes? Are you throwing in more <div>s only to fix layout issues? Maybe there’s a better and more semantically correct way to do your markup.
But, how many DOM elements are too many? A good way to check is by looking at other similar pages that have good markup. Also, be sure to test how many DOM elements you have, an easy way to check is by using Firebug’s console: document.getElementsByTagName(‘*’).length
Still not fast enough for you? Click over to the rest of their article for more great tips on increasing your speed!
Thanks a ton for this – love the info and agree with your perspective. However many others will not, so thanks for speaking up. Nice blog, well done! I discovered your blog web site on google and check a few of your early posts. Proceed to maintain up the superb operate. I simply further up your RSS feed to my MSN Information Reader. Searching for forward to reading more from you afterward!… I have seen that expenses for online degree experts tend to be a terrific value. Like a full Bachelors Degree in Communication with the University of Phoenix Online consists of 60 credits with $515/credit or $30,900. Also American Intercontinental University Online comes with a Bachelors of Business Administration with a total course element of 180 units and a tariff of $30,560. Online studying has made taking your education been so detailed more than before because you can earn the degree from the comfort of your house and when you finish from office. Thanks for all tips I have really learned through the site. Take the first left onto 136thAvenue. You will use the Action Verb Lists all through your writing.It is an inexpensive writing resource to use often. It’s almost like a sting from a Scorpion, that is how paralyzing their stare can be. Title… [...]usually posts some extremely exciting stuff like this. If you’re new to this site[...]… Title… [...]below you will obtain the link to some websites that we assume you must visit[...]… Title… [...]very couple of websites that take place to be comprehensive beneath, from our point of view are undoubtedly very well really worth checking out[...]… Title… [...]Wonderful story, reckoned we could combine a few unrelated information, nevertheless seriously really worth taking a appear, whoa did one learn about Mid East has got much more problerms also [...]… Comments
10 Responses to 3 Tips to Increase your Website’s Speed (Yahoo!)
We’re a group of volunteers and opening a new scheme in our community. Your site provided us with valuable information to work on. You have done an impressive job and our entire community will be thankful to you.