Go to home page mail me! RSS Feed
FoxMetrics Web Analytics

Page size offender – JavaScript

Thursday, December 29, 2011 10:09 AM

We all love JavaScript and yes its my favorite language thingy! However, because it is loosely coupled, you can easily write very bad bloated code and there aren’t any sweet tools out there to help with this. It is only logical to determine why the existing JavaScript IDE’s are not getting powerful – because its not a language that compiles, therefore, it is very difficult to analyze compared to other languages such as C# & F#.

Its imperative that you remove unused code, write efficient code – check out the work of John Resig, he founder of the JQuery framework.

Pingdom surveyed the top 1,000 sites and the results are astonishing, images have always been a problem, however, JavaScript is the new offender as of 2011. So no excuses clean up your code and compress them and better yet place them on a CDN for better delivery. Here are some nice charts.

Web page size change in one year

 

Web page content size change in percent

Your Comments.

No comments posted yet.

Your Reply.

Comment Form.

Fields denoted with a "*" are required.

You may also like to leave your email or website.

 
Please add 6 and 2 and type the answer here:

Preview Your Comment.

 
Next entries »