Browsing Web site is an important example of client server model in the world, if you plan to create a web site you should know that the client browser will get a local copy of the desired page to your machine then render it from the local source, so if the page what the user want to show it is a large size user will go out and will not back again, this problem led us to design a very light page size, page size is the total of the page code and all its content like images, scripts, CSS and any content that the user will see it.
If we target a good exceptional performance for mobile web or even desktop user we must follow some practices for making web pages fast, Yahoo!’s exceptional performance team evangelizes best practices for improving web performance. They conduct research, build tools, write articles and blogs, and speak at conferences. Their best practices center on the rules for high performance web sites, the principal objective is to improve the user experience of the Web when accessed.
The Exceptional Performance team has identified a number of best practices for making web pages fast. The list includes 34 best practices divided into 7 categories:
Content
- Make Fewer HTTP Requests
- Reduce DNS Lookups
- Avoid Redirects
- Make Ajax Cacheable
- Post-load Components
- Preload Components
- Reduce the Number of DOM Elements
- Split Components across Domains
- Minimize the Number of iframes
- No 404s
Server
- Use a Content Delivery Network
- Add an Expires or a Cache-Control Header
- Gzip Components
- Configure ETags
- Flush the Buffer Early
- Use GET for AJAX Requests
Cookie
- Reduce Cookie Size
- Use Cookie-free Domains for Components
CSS
- Put Style sheets at the Top
- Avoid CSS Expressions
- Choose <link> over @import
- Avoid Filters
JavaScript
- Put Scripts at the Bottom
- Make JavaScript and CSS External
- Minify JavaScript and CSS
- Remove Duplicate Scripts
- Minimize DOM Access
- Develop Smart Event Handlers
Images
- Optimize Images
- Optimize CSS Sprites
- Don’t Scale Images in HTML
- Make favicon.ico Small and Cacheable
Mobile
- Keep Components under 25K
- Pack Components into a Multipart Document
OneHoster is one of the best web hosting companies in Egypt, we offer many web hosting packages in Egypt and middle east like, cPanel storage hosting packages, cloud hosting, domain registration, dedicated servers solution, Email hosting, WordPress hosting, web hosting upgrades and hosting renewals to suit your requirements to host your website for small and medium sized businesses. OneHoster is also one of the top 10 website design companies, and top 10 digital marketing companies in Egypt and Middle east.
“OneHoster’s Team”