TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
Client Side Optimization
1. Patrick Hüsler, huesler informatik
Client Side Optimization
Talked to several people, it is not entirely clear, what client side optimization actually ist
Listened to a marketing talk, people use one term and mean something completely different
14. YSlow Criteria
• Make fewer HTTP requests
• Use a Content Delivery Network
• Add Expires Headers
• Compress components with gzip
• Put CSS at top
• Put JavaScript at bottom
15. YSlow Criteria
• Avoid CSS expressions
• Make JavaScript and CSS external
• Reduce DNS lookups
• Minify JavaScript and CSS
• Avoid URL redirects
• Remove duplicate JavaScript and CSS
16. YSlow Criteria
• Configure entity tags (ETags)
• Make AJAX cacheable
• Use GET for AJAX requests
• Reduce the number of DOM elements
• Avoid HTTP 404 (Not found) error
• Reduce cookie size
17. YSlow Criteria
• Use cookie-free domains
• Avoid AlphaImageLoader filter
• Do not scale images in HTML
• Make favicon small and cacheable