Proactive Web Performance Optimization

Доклад принят в Программу конференции
Marcel Duran (Twitter)Marcel Duran

Web Performance is a vigilant task and even well monitored websites frequently get out of performance monitoring radar resulting in performance regression pushed to end users. Real User Monitoring is an essential tool but it's not enough as users will be ultimately the ones raising the red flag for eventual performance regression introduced after every release cycle.

YSlow has been helping the industry websites performance by analyzing and suggesting the appropriate fix through browsers extensions manually run from productions end points. Now YSlow powered by NodeJS and PhantomJS is capable of been seamlessly plugged in the Continuous Integration pipeline raising the red flag for performance regression in the building process, assuring the website minimum performance standards are fulfilled and avoiding unnecessary end user bad experience. Besides YSlow as a way to prevent regression, at Twitter we strive to keep and improve performance of every new release through automated branch performance comparison which gives accurate metrics to prevent even a few milliseconds of performance regression in production, I'm highlighting some details about this tool and how to proactively improve web performance.