Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Maximize_Your_Performance_Optimization_Gains.pdf

 Maximize_Your_Performance_Optimization_Gains.pdf

Punit Sethi

February 09, 2019
Tweet

More Decks by Punit Sethi

Other Decks in Programming

Transcript

  1. How Do You Start Optimizing Your Frontend Performance? Diagnostic Tools?

    Lighthouse, WebPageTest, PageSpeed Insights? www.tezify.com
  2. How Do You Start Optimizing Your Frontend Performance? • Prioritize

    performance optimizations that benefits the most users. • Avoid blindness to performance issues that may exist out in the wild. www.tezify.com
  3. How Do You Start Optimizing Your Frontend Performance? • Use

    site tracking data (eg : Google Analytics) to uncover user segments experiencing slowness. • Know what to look for (within site tracking data). • Understand how to use it to make performance optimization decisions. www.tezify.com
  4. Most Popular Pages Over-all / Landing Pages • Find slowest

    of your busiest pages. • Know pages through which visitors enter your site. (most critical for Single Page Apps) • Optimize by reducing page size, number of requests and prioritizing content. www.tezify.com
  5. Most Popular Pages Over-all / Landing Pages Google Analytics :

    Behavior > Site Speed > Page Timings www.tezify.com
  6. Most Popular Pages Over-all / Landing Pages Google Analytics :

    Behavior > Site Speed > Page Timings (Primary Dimension : Landing Pages) www.tezify.com
  7. Desktop vs Mobile • Know proportion of mobile vs desktop

    users and compare their speed. • Avoid blindness to real mobile device experience (esp SPA, JS heavy sites). • Simulate mobile users by accessing site on actual mobile devices. www.tezify.com
  8. Visitors’ Geography • Ensure your server is closest to your

    largest Geo segment. • Leverage CDN for performance boost for other geographies. www.tezify.com
  9. Visitors’ Geography Google Analytics : Behavior > Site Speed >

    Page Timings (Primary Dimension : Country) www.tezify.com
  10. Browser Usage Statistics • Compare website speed across browsers to

    uncover browser specific speed issues. • Apply optimizations that affect major browsers your visitors use (ref : caniuse.com). www.tezify.com
  11. Browser Usage Statistics Google Analytics : Behavior > Site Speed

    > Page Timings (Primary Dimension : Browser) www.tezify.com
  12. New Vs Returning Users • Know proportion of new vs

    returning users and compare their speed. • Optimize returning users through Service Worker caching (Progressive Web App), HTTP caching. • Optimize new users by prioritizing content, reducing page size and requests. www.tezify.com
  13. New Vs Returning Users Google Analytics : Behavior > Site

    Speed > Page Timings (Primary Dimension : User Type) www.tezify.com
  14. Conclusion • Start your performance optimization exercise with data. •

    Deliver optimizations that benefit the largest user segments. • Track the actual optimization benefits. www.tezify.com