SlideShare uma empresa Scribd logo
1 de 18
By: Amit Kumar
Topic to discuss:
 1.What is The golden rule of performance.
 2.Things we do.
 3. Things We should do.
The golden rule of performance.
 For any phenomenon, 80% of the consequences come

from 20% of the causes.
: Vilfredo Pareto, an economist.

In our case, 80% of the time is spent by the User
depends on only 20% of the code.
Things we do.
 New database schema
 Optimised code
 Replicated architecture
 And so many huge complex task
What is front end?
 Everything after html document arrived to the

browser:
 Like HTML, JavaScript CSS, parsing , JavaScript
execution, network time for http request etc.
 5 % of the user wait time was to get the html request
and rest is used to download other things.
Time taken by yahoo.com.
Bad News !!!
 Browsers download only two to four components in

parallel per hostname.
Time taken by top website.
Time Retrieving HTML

Time Elsewhere

Yahoo!

10%

90%

Google

25%

75%

MySpace

9%

91%

MSN

5%

95%

ebay

5%

95%

Amazon

38%

62%

YouTube

9%

91%

CNN

15%

85%
Empty and full cache summary to
load yahoo.com
Things we should do!
 1.Minimize HTTP Requests

1.1 CSS sprite
1.2 Combined Scripts, and StyleSheets
 2.Add an Expires or a Cache-Control Header .

There are two aspects to this rule:

2.1 For static components: implement "Never expire" policy by
setting far future Expires header

2.2 For dynamic components: use an appropriate CacheControl header to help the browser with conditional requests

2.3 Expires headers are most often used with images, but they
should be used on all components including
scripts, stylesheets, and Flash components.
 3. Gzip Components
 Most web sites gzip their HTML documents. It's also

worthwhile to gzip your scripts and stylesheets, but
many web sites miss this opportunity. In fact, it's
worthwhile to compress any text response including
XML and JSON. Image and PDF files should not be
gzipped because they are already compressed.
 4.Put Stylesheets at the Top
 5.Put Scripts at the Bottom
 The HTTP/1.1 specification suggests that browsers

download no more than two components in parallel
per hostname.
 While a script is downloading, however, the browser
won't start any other downloads, even on different
hostnames.
 6. Avoid CSS Expressions
{background-color: expression( (new
Date()).getHours()%2 ? "#B8D4FF" : "#F08A00" );}
 The problem with expressions is that they are

evaluated more frequently than most people expect.
 7.Make JavaScript and CSS External
 Using external files in the real world generally produces

faster pages because the JavaScript and CSS files are cached
by the browser. JavaScript and CSS that are inlined in
HTML documents get downloaded every time the HTML
document is requested.
 This reduces the number of HTTP requests that are
needed, but increases the size of the HTML document. On
the other hand, if the JavaScript and CSS are in external
files cached by the browser, the size of the HTML
document is reduced without increasing the number of
HTTP requests.
 8.Minify JavaScript and CSS
 Minification is the practice of removing unnecessary






characters from code
9.Avoid Redirects
10.Use GET for AJAX Requests
POST is implemented in the browsers as a two-step
process: sending the headers first, then sending data.
11. Remove Duplicate Scripts
Unnecessary HTTP requests happen in Internet
Explorer, but not in Firefox.
 12. Use Cookie-free Domains for Components
 When the browser makes a request for a static image

and sends cookies together with the request, the server
doesn't have any use for those cookies. So they only
create network traffic for no good reason. You should
make sure static components are requested with
cookie-free requests. Create a subdomain and host all
your static components there.
 Yahoo! uses yimg.com, YouTube uses ytimg.com,
Amazon uses images-amazon.com and so on.
 WHERE DO WE STAND ???

http://www.pingdom.com/
 THANK YOU FOR YOUR VALUABLE TIME

Mais conteúdo relacionado

Mais procurados

Front end optimization
Front end optimizationFront end optimization
Front end optimization
Abhishek Anand
 
Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...
Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...
Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...
Ezra Gildesgame
 
Optimising Web Application Frontend
Optimising Web Application FrontendOptimising Web Application Frontend
Optimising Web Application Frontend
tkramar
 
HTML5 CSS3 The Future of Web Technologies
HTML5 CSS3 The Future of Web TechnologiesHTML5 CSS3 The Future of Web Technologies
HTML5 CSS3 The Future of Web Technologies
hoctudau
 
WordPress&映像配信セミナー+さぶみっと!オフ会- 第2回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
WordPress&映像配信セミナー+さぶみっと!オフ会- 第2回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクトWordPress&映像配信セミナー+さぶみっと!オフ会- 第2回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
WordPress&映像配信セミナー+さぶみっと!オフ会- 第2回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
Hiromichi Koga
 
That's crazy! how to build single page web apps
That's crazy! how to build single page web appsThat's crazy! how to build single page web apps
That's crazy! how to build single page web apps
Chris Love
 

Mais procurados (20)

HTTP Basic - PHP
HTTP Basic - PHPHTTP Basic - PHP
HTTP Basic - PHP
 
Front end optimization
Front end optimizationFront end optimization
Front end optimization
 
Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...
Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...
Understanding XHProf: Pinpointing Why Your Site is Slow and How to Fix it - S...
 
Optimising Web Application Frontend
Optimising Web Application FrontendOptimising Web Application Frontend
Optimising Web Application Frontend
 
JS digest. Decemebr 2017
JS digest. Decemebr 2017JS digest. Decemebr 2017
JS digest. Decemebr 2017
 
Getting Started with Web Services
Getting Started with Web ServicesGetting Started with Web Services
Getting Started with Web Services
 
An Introduction to GitHub for DBAs - Brent Ozar
An Introduction to GitHub for DBAs - Brent OzarAn Introduction to GitHub for DBAs - Brent Ozar
An Introduction to GitHub for DBAs - Brent Ozar
 
HTML5 CSS3 The Future of Web Technologies
HTML5 CSS3 The Future of Web TechnologiesHTML5 CSS3 The Future of Web Technologies
HTML5 CSS3 The Future of Web Technologies
 
Service workers: what and why UmbUKFest 2018!
Service workers: what and why UmbUKFest 2018!Service workers: what and why UmbUKFest 2018!
Service workers: what and why UmbUKFest 2018!
 
The Case for HTTP/2 - EpicFEL Sept 2015
The Case for HTTP/2 - EpicFEL Sept 2015The Case for HTTP/2 - EpicFEL Sept 2015
The Case for HTTP/2 - EpicFEL Sept 2015
 
Nate Reist WCGR WP AJAX presentation
Nate Reist WCGR WP AJAX presentationNate Reist WCGR WP AJAX presentation
Nate Reist WCGR WP AJAX presentation
 
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High GearASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
 
Windows Azure - Cloud Service Development Best Practices
Windows Azure - Cloud Service Development Best PracticesWindows Azure - Cloud Service Development Best Practices
Windows Azure - Cloud Service Development Best Practices
 
WordPress&映像配信セミナー+さぶみっと!オフ会- 第2回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
WordPress&映像配信セミナー+さぶみっと!オフ会- 第2回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクトWordPress&映像配信セミナー+さぶみっと!オフ会- 第2回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
WordPress&映像配信セミナー+さぶみっと!オフ会- 第2回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
 
さぶみっと
さぶみっとさぶみっと
さぶみっと
 
Sohamsg ajax
Sohamsg ajaxSohamsg ajax
Sohamsg ajax
 
That's crazy! how to build single page web apps
That's crazy! how to build single page web appsThat's crazy! how to build single page web apps
That's crazy! how to build single page web apps
 
Blazor - An Introduction
Blazor - An IntroductionBlazor - An Introduction
Blazor - An Introduction
 
Wordpress vs html
Wordpress vs htmlWordpress vs html
Wordpress vs html
 
Optimizing your WordPress website
Optimizing your WordPress websiteOptimizing your WordPress website
Optimizing your WordPress website
 

Destaque

201309 130917200320-phpapp01
201309 130917200320-phpapp01201309 130917200320-phpapp01
201309 130917200320-phpapp01
Simon Lin
 
Inv 03.statistics review a_macias_in_class_fall2013
Inv 03.statistics review a_macias_in_class_fall2013Inv 03.statistics review a_macias_in_class_fall2013
Inv 03.statistics review a_macias_in_class_fall2013
DFitzmorris
 
อุปกรณ์เชื่อมต่อเครือข่ายคอมพิวเตอร์กรวรรณ
อุปกรณ์เชื่อมต่อเครือข่ายคอมพิวเตอร์กรวรรณอุปกรณ์เชื่อมต่อเครือข่ายคอมพิวเตอร์กรวรรณ
อุปกรณ์เชื่อมต่อเครือข่ายคอมพิวเตอร์กรวรรณ
Korrawan Sonyam
 
Biomecanica piciorului
Biomecanica picioruluiBiomecanica piciorului
Biomecanica piciorului
Neagu George
 
Rural Livelihood Diversification in Rice-based Areas of Bangladesh
Rural Livelihood Diversification in Rice-based Areas of BangladeshRural Livelihood Diversification in Rice-based Areas of Bangladesh
Rural Livelihood Diversification in Rice-based Areas of Bangladesh
Md. Tanvir Ahmed
 
Micro irrigation for enhancing water productivity in field crops
Micro irrigation for enhancing water productivity in field cropsMicro irrigation for enhancing water productivity in field crops
Micro irrigation for enhancing water productivity in field crops
Shantu Duttarganvi
 

Destaque (17)

Contribuciones
ContribucionesContribuciones
Contribuciones
 
Obezitate
ObezitateObezitate
Obezitate
 
201309 130917200320-phpapp01
201309 130917200320-phpapp01201309 130917200320-phpapp01
201309 130917200320-phpapp01
 
Inv 03.statistics review a_macias_in_class_fall2013
Inv 03.statistics review a_macias_in_class_fall2013Inv 03.statistics review a_macias_in_class_fall2013
Inv 03.statistics review a_macias_in_class_fall2013
 
Locked presentation (2)
Locked presentation (2)Locked presentation (2)
Locked presentation (2)
 
อุปกรณ์เชื่อมต่อเครือข่ายคอมพิวเตอร์กรวรรณ
อุปกรณ์เชื่อมต่อเครือข่ายคอมพิวเตอร์กรวรรณอุปกรณ์เชื่อมต่อเครือข่ายคอมพิวเตอร์กรวรรณ
อุปกรณ์เชื่อมต่อเครือข่ายคอมพิวเตอร์กรวรรณ
 
How to save money on your food bills
How to save money on your food billsHow to save money on your food bills
How to save money on your food bills
 
Presentació Col·legis
Presentació Col·legisPresentació Col·legis
Presentació Col·legis
 
Biomecanica piciorului
Biomecanica picioruluiBiomecanica piciorului
Biomecanica piciorului
 
Pesca Turisme
Pesca TurismePesca Turisme
Pesca Turisme
 
Smart ways to save money
Smart ways to save moneySmart ways to save money
Smart ways to save money
 
țEsutul nervos
țEsutul nervosțEsutul nervos
țEsutul nervos
 
Neo4j - Rede de relacionamentos baseada em grafos
Neo4j - Rede de relacionamentos baseada em grafosNeo4j - Rede de relacionamentos baseada em grafos
Neo4j - Rede de relacionamentos baseada em grafos
 
Rural Livelihood Diversification in Rice-based Areas of Bangladesh
Rural Livelihood Diversification in Rice-based Areas of BangladeshRural Livelihood Diversification in Rice-based Areas of Bangladesh
Rural Livelihood Diversification in Rice-based Areas of Bangladesh
 
Programul wiliams
Programul wiliamsProgramul wiliams
Programul wiliams
 
Scolioza
ScoliozaScolioza
Scolioza
 
Micro irrigation for enhancing water productivity in field crops
Micro irrigation for enhancing water productivity in field cropsMicro irrigation for enhancing water productivity in field crops
Micro irrigation for enhancing water productivity in field crops
 

Semelhante a improve website performance

An Introduction to Ajax Programming
An Introduction to Ajax ProgrammingAn Introduction to Ajax Programming
An Introduction to Ajax Programming
hchen1
 
Web Client Performance
Web Client PerformanceWeb Client Performance
Web Client Performance
Herea Adrian
 
High Performance Web Pages - 20 new best practices
High Performance Web Pages - 20 new best practicesHigh Performance Web Pages - 20 new best practices
High Performance Web Pages - 20 new best practices
Stoyan Stefanov
 
1 Introduction to Drupal Web Development
1 Introduction to Drupal Web Development1 Introduction to Drupal Web Development
1 Introduction to Drupal Web Development
Wingston
 

Semelhante a improve website performance (20)

Frontend performance
Frontend performanceFrontend performance
Frontend performance
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
 
An Introduction to Ajax Programming
An Introduction to Ajax ProgrammingAn Introduction to Ajax Programming
An Introduction to Ajax Programming
 
Web Client Performance
Web Client PerformanceWeb Client Performance
Web Client Performance
 
High Performance Web Pages - 20 new best practices
High Performance Web Pages - 20 new best practicesHigh Performance Web Pages - 20 new best practices
High Performance Web Pages - 20 new best practices
 
High-Speed HTML5
High-Speed HTML5High-Speed HTML5
High-Speed HTML5
 
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
 
Building high performing web pages
Building high performing web pagesBuilding high performing web pages
Building high performing web pages
 
Front-end performances
Front-end performancesFront-end performances
Front-end performances
 
Rails Girls - Introduction to HTML & CSS
Rails Girls - Introduction to HTML & CSSRails Girls - Introduction to HTML & CSS
Rails Girls - Introduction to HTML & CSS
 
Performance tuning of Websites
Performance tuning of WebsitesPerformance tuning of Websites
Performance tuning of Websites
 
The 5 most common reasons for a slow WordPress site and how to fix them
The 5 most common reasons for a slow WordPress site and how to fix themThe 5 most common reasons for a slow WordPress site and how to fix them
The 5 most common reasons for a slow WordPress site and how to fix them
 
Website & Internet + Performance testing
Website & Internet + Performance testingWebsite & Internet + Performance testing
Website & Internet + Performance testing
 
A Holistic View of Website Performance
A Holistic View of Website PerformanceA Holistic View of Website Performance
A Holistic View of Website Performance
 
1 Introduction to Drupal Web Development
1 Introduction to Drupal Web Development1 Introduction to Drupal Web Development
1 Introduction to Drupal Web Development
 
Web performance optimization for modern web applications
Web performance optimization for modern web applicationsWeb performance optimization for modern web applications
Web performance optimization for modern web applications
 
Optimization of modern web applications
Optimization of modern web applicationsOptimization of modern web applications
Optimization of modern web applications
 
Top 10 HTML5 Features for Oracle Cloud Developers
Top 10 HTML5 Features for Oracle Cloud DevelopersTop 10 HTML5 Features for Oracle Cloud Developers
Top 10 HTML5 Features for Oracle Cloud Developers
 
What is HTML 5?
What is HTML 5?What is HTML 5?
What is HTML 5?
 
Client Side Performance @ Xero
Client Side Performance @ XeroClient Side Performance @ Xero
Client Side Performance @ Xero
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

improve website performance

  • 2. Topic to discuss:  1.What is The golden rule of performance.  2.Things we do.  3. Things We should do.
  • 3. The golden rule of performance.  For any phenomenon, 80% of the consequences come from 20% of the causes. : Vilfredo Pareto, an economist. In our case, 80% of the time is spent by the User depends on only 20% of the code.
  • 4. Things we do.  New database schema  Optimised code  Replicated architecture  And so many huge complex task
  • 5. What is front end?  Everything after html document arrived to the browser:  Like HTML, JavaScript CSS, parsing , JavaScript execution, network time for http request etc.  5 % of the user wait time was to get the html request and rest is used to download other things.
  • 6. Time taken by yahoo.com.
  • 7. Bad News !!!  Browsers download only two to four components in parallel per hostname.
  • 8. Time taken by top website. Time Retrieving HTML Time Elsewhere Yahoo! 10% 90% Google 25% 75% MySpace 9% 91% MSN 5% 95% ebay 5% 95% Amazon 38% 62% YouTube 9% 91% CNN 15% 85%
  • 9. Empty and full cache summary to load yahoo.com
  • 10. Things we should do!  1.Minimize HTTP Requests 1.1 CSS sprite 1.2 Combined Scripts, and StyleSheets  2.Add an Expires or a Cache-Control Header . There are two aspects to this rule:  2.1 For static components: implement "Never expire" policy by setting far future Expires header  2.2 For dynamic components: use an appropriate CacheControl header to help the browser with conditional requests  2.3 Expires headers are most often used with images, but they should be used on all components including scripts, stylesheets, and Flash components.
  • 11.  3. Gzip Components  Most web sites gzip their HTML documents. It's also worthwhile to gzip your scripts and stylesheets, but many web sites miss this opportunity. In fact, it's worthwhile to compress any text response including XML and JSON. Image and PDF files should not be gzipped because they are already compressed.  4.Put Stylesheets at the Top  5.Put Scripts at the Bottom
  • 12.  The HTTP/1.1 specification suggests that browsers download no more than two components in parallel per hostname.  While a script is downloading, however, the browser won't start any other downloads, even on different hostnames.  6. Avoid CSS Expressions {background-color: expression( (new Date()).getHours()%2 ? "#B8D4FF" : "#F08A00" );}
  • 13.  The problem with expressions is that they are evaluated more frequently than most people expect.
  • 14.  7.Make JavaScript and CSS External  Using external files in the real world generally produces faster pages because the JavaScript and CSS files are cached by the browser. JavaScript and CSS that are inlined in HTML documents get downloaded every time the HTML document is requested.  This reduces the number of HTTP requests that are needed, but increases the size of the HTML document. On the other hand, if the JavaScript and CSS are in external files cached by the browser, the size of the HTML document is reduced without increasing the number of HTTP requests.
  • 15.  8.Minify JavaScript and CSS  Minification is the practice of removing unnecessary      characters from code 9.Avoid Redirects 10.Use GET for AJAX Requests POST is implemented in the browsers as a two-step process: sending the headers first, then sending data. 11. Remove Duplicate Scripts Unnecessary HTTP requests happen in Internet Explorer, but not in Firefox.
  • 16.  12. Use Cookie-free Domains for Components  When the browser makes a request for a static image and sends cookies together with the request, the server doesn't have any use for those cookies. So they only create network traffic for no good reason. You should make sure static components are requested with cookie-free requests. Create a subdomain and host all your static components there.  Yahoo! uses yimg.com, YouTube uses ytimg.com, Amazon uses images-amazon.com and so on.
  • 17.  WHERE DO WE STAND ??? http://www.pingdom.com/
  • 18.  THANK YOU FOR YOUR VALUABLE TIME