Luokat: Kaikki - compression

jonka Akshay bhatnagar 12 vuotta sitten

293

Web Performance

Efficient web performance is crucial for user experience and business success. Key strategies include optimizing images by favoring JPEGs over PNGs, addressing latency issues bound by the speed of light, and correlating performance metrics with business outcomes.

Web Performance

Web Performance

HTTP doesn't have multiplexing

HTTP Pipelining/Response Queuing - Head of line blocking - problem
TCP Slow Start
TCP Initial Congestion Window being increased
6 connections per host

HTTP Request Life

Content Download
Compressing
HTTP Request
Can we make the server respond faster?
Socket Connect
Bound by latency and not bandwidth , Can we make ther servers closer using CDN or Geo=positional servers
DNS Lookup
Benchmark ISP DNS Provider
Benchmark Site DNS provider

Stay under 250 ms to feel fast - Usability Engineering

Correlate business metrics to performance

HTTP 2.0 Coming up

Compress Headers...
Higher TCP Window size
Requests are multiplexed/prioritized

Bound by latency and not bandwidth if you are at a decent bandwidth

Lay shorter cables
Latency bound by speed of light

Image optimization - Jpeg over png

Treat speed as a feature - part of design from start

latency impact

ShopZilla improved page load time - 25% more hits
Web Search Delay Experiment - Google And Bing
User gets used to slow response - an interesting observation
Revenue/user dropped
Avg Search Queries decreased
Site Speed Is a factor in Google Search
The slower the page , the higher the Bounce rate