Upload
jason-stangroome
View
421
Download
1
Embed Size (px)
Citation preview
Web Performance LessonsSolving performance challenges on other people’s websites
•E-commerce• Retail• Insurance• Automotive
•News and forums•Brochureware
Context
•Browser rendering performance•Delivering responses to the browser•Rendering responses on the server•Availability
Performance and Efficiency
WebGoat
•Cache-Control and Expires headers•Query strings•Protocol-relative URLs•Prefer GET instead of POST
Cache in the browser
•Scripts and Stylesheets• Concatenate•Minify/compress
• Images• Resolution (and in HTML)• Strip metadata• Sprite / Inline
Appropriate resources
•<script defer>•Page-load time versus quality metrics•Shared CDN versus on-domain•Beware coupling
Scripts
•Dynamic pages not found•Server-side session state•Database contention•Degrade gracefully
Web Server
•TLS is fast•Multiplexing•Server Push•Domain sharding
HTTPS and HTTP/2
•Cookies•Vary: User-Agent•Cross-Site Request Forgery•User-abstracted HTML
Content Delivery Network
Jason Stangroome
Twitter: @jstangroomehttps://blog.stangroome.com
Thank you
1-5 August
DDD Sydney thanks our sponsors