Trainline - Website Performance Optimisation

image

Challenge: Trainline aimed to consolidate its mobile and desktop web applications into a single, responsive application to reduce costs, ensure consistency across devices, facilitate easier maintenance, and future-proof its web platform. A key component of this initiative was to enhance website performance to boost engagement and improve user experience.

Our Approach: Drawing from the invaluable experience gained by our team member during their tenure at Trainline, OptimaCode is uniquely positioned to tackle similar challenges. Our team's strategic approach to improving Core Web Vitals involves pinpointing performance bottlenecks and devising bespoke optimization strategies. Our comprehensive methodology includes:

  • Implementing advanced optimization techniques such as code splitting, lazy loading, and caching, alongside innovations like deferred and idle-until-urgent loading, to minimize load times and enhance site responsiveness.
  • Leveraging tools like SpeedCurve and New Relic for real-time performance monitoring and analytics, allowing us to measure and enhance Core Web Vitals and tailor-made performance metrics specifically designed for Trainline’s requirements.
  • Guaranteeing that both the mobile and the newly responsive web applications delivered equivalent performance levels, particularly focusing on metrics directly affecting user experience such as the time taken for pages to become interactive.
  • Applying cutting-edge compression techniques and optimizing images to reduce file sizes without sacrificing quality, thereby improving load times across different network conditions.
  • Establishing strict performance guardrails, including bundle budgeting and automated performance testing, to avoid regressions and ensure ongoing improvement.
  • Facilitating close collaboration with the development team, sharing best practices, and working across departments to align technical enhancements with broader business objectives.

Technical Innovations and Leadership: Our involvement spanned technical architecting to strategic leadership. We contributed to Architecture Decision Records (ADRs) to solidify our performance optimization strategy and led the identification of "Quick Wins" through comprehensive research. Additionally, we were pivotal in steering the project's direction through the creation and implementation of Quarterly Objectives and Key Results (OKRs), ensuring that our efforts remained aligned with Trainline’s strategic ambitions.

Result: Our concerted efforts led to a notable reduction in Trainline’s loading time by 4 seconds. This improvement not only elevated user satisfaction but also resulted in a significant increase in user engagement. The success of this project demonstrates our capability to blend technical expertise with strategic insight, achieving both immediate performance enhancements and long-term business value.