5. High Performance Websites
1. Make fewer HTTP requests
2. Use CDN
3. Add expires header
4. Gzip Components
5. Put stylesheets at the top
6. Put scripts at the bottom
7. Avoid CSS expressions
8. Make JS and CSS external
9. Reduce DNS lookups
10. Minify JS
11. Avoid redirects
12. Remove duplicate scripts
13. Configure Etags
14. Make Ajax cacheable
15. Sharding domains
5
16. TCP Initial Congestion Window
This:
Is Really This (Current OSâs):
4K 8K 16K 32K
Linux 2.6.39:
15K 30K âŚ
16
17. SPDY
⢠Multiplexed streams
⢠Request prioritization
⢠HTTP header compression
⢠Server push
⢠Server hint
⢠10-50% improvement in load times
17
35. More advanced capabilities
Automating Rich Applications
⢠Authenticating into form-protected applications
⢠Interacting with Web Apps (Mail, Calendar, etc)
⢠Testing a navigation flow from one page to another
⢠Execute arbitrary Javascript
REALLY Advanced Options
⢠Re-writing DNS lookups (directing traffic to a test/staging box)
⢠Custom User-Agent strings & HTTP Headers
⢠Pre-populating cookies
⢠Custom test end conditions
⢠Capture Dynatrace Ajax Edition sessions
⢠Tcpdump capture
35
37. REST API
Submit tests (API key required for public instance)
⢠Check status
⢠Fetch Result
1.XML
2.HAR
http://sites.google.com/a/webpagetest.org/docs/advanced-
features/webpagetest-restful-apis
38. WPT Monitor
ď§ Tony Perkins (Sabre)
ď§ http://www.webpagetest.org/forums/forumdisplay.php?fid=21