background preloader

Best Practices for Speeding Up Your Web Site - Yahoo Developer Network

Best Practices for Speeding Up Your Web Site - Yahoo Developer Network
The Exceptional Performance team has identified a number of best practices for making web pages fast. The list includes 35 best practices divided into 7 categories. Minimize HTTP Requests tag: content 80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, stylesheets, scripts, Flash, etc. One way to reduce the number of components in the page is to simplify the page's design. Combined files are a way to reduce the number of HTTP requests by combining all scripts into a single script, and similarly combining all CSS into a single stylesheet. CSS Sprites are the preferred method for reducing the number of image requests. Image maps combine multiple images into a single image. Inline images use the data: URL scheme to embed the image data in the actual page. Reducing the number of HTTP requests in your page is the place to start. top | discuss this rule Use a Content Delivery Network tag: server tag: css

https://developer.yahoo.com/performance/rules.html

Related:  COURS, TUTORIELS et Co

Understanding the critical rendering path, rendering pages in 1 second How does the browser rendering engine work? In order to render content the browser has to go through a series of steps:1. Document Object Model(DOM)2. CSS object model(CSSOM)3. Render Tree4. Layout5. ArticleS.UncleBob.PrinciplesOfOod The Principles of OOD What is object oriented design? What is it all about? What are it's benefits? Code Conventions This is a set of coding conventions and rules for use in JavaScript programming. The long-term value of software to an organization is in direct proportion to the quality of the codebase. Over its lifetime, a program will be handled by many pairs of hands and eyes.

5 Ways to Speed Up Your Site Speed kills. But on the Internet, death comes at the hands of a slow-loading page, not a speeding car. Even mighty Google is using site speed as a signal in its search algorithm, and studies have shown that just a fraction of a delay can kill your conversion rate. And that’s just on a normal day. What if you hit the front page of Reddit or decide to run a deal with Groupon? Minimize request overhead - Make the Web Faster Every time a client sends an HTTP request, it has to send all associated cookies that have been set for that domain and path along with it. Most users have asymmetric Internet connections: upload-to-download bandwidth ratios are commonly in the range of 1:4 to 1:20. This means that a 500-byte HTTP header request could take the equivalent time to upload as 10 KB of HTTP response data takes to download. The factor is actually even higher because HTTP request headers are sent uncompressed. In other words, for requests for small objects (say, less than 10 KB, the typical size of a compressed image), the data sent in a request header can account for the majority of the response time. The latency can be higher at the beginning of a new browser session.

How to Create a Portfolio Site That Will Get You Hired — SitePoint This popular article was lightly sanded and given a fresh coat of paint in 2017. Being a developer, designer or writer is a great way of making a living. But what if you need to attract a new job or clients? Learning C/C++ Step-By-Step 01. Step-by-Step C/C++ --- Introduction Many people are really interested in learning and implementing C/C++ programs on their favorite platforms like DOS/Windows or Linux.

Firebug Firebug includes a powerful JavaScript debugger that lets you pause execution at any time and see what each variable looked like at that moment. If your code is a little sluggish, use the JavaScript profiler to measure performance and find bottlenecks fast. Find scripts easily Guidelines for Writing a Good About Page The About page—just about every single website has one. The About page is where site users go to learn more about the site they’re on. If you want to convert visitors to users, capture opportunities to work with people, and give your regular users a deeper appreciation of what your site does, a well written About page is your ticket. The About Page’s Mission The About page is the section of a website where people go to find out about the website they’re on.

Related:  Optimizationhigh level tips