website code rewrite
To address the fintech affiliate website's challenge with Google algorithm updates, our team approached with a productive solution to identify and eliminate problematic 3rd party JavaScript resources.
The constant Google algorithm updates were a struggle for the partner website, which took a huge hit any time a new algorithm was rolled out. Our team approached the challenge as an opportunity to improve their performance. They speculated that third-party JavaScript resources might be the root cause of the issue. Upon disabling them, they observed a significant improvement in the Core Web Vitals scores, confirming their suspicions. This led to a shift in their approach from quick fixes to a more comprehensive optimization plan aimed at uncovering the secrets to exceptional user experience and sustainable performance improvements.
Fintech
The affiliate website was constantly having trouble optimizing for Core Web Vitals. Google's algorithm update has led to a deterioration in user experience and search engine rankings.
Software engineer: 3
Software engineers in test: 1
Project Manager: 1
2-3 months
The project leveraged Next.js as the core framework, focusing on achieving passing grades in key metrics like Largest Contentful Paint (LCP), First Input Delay (FID), and Cumulative Layout Shift (CLS).
Challenge: The upgrade was to bring significant improvements, like image and font optimization, improved script components, etc., but the challenge was staying up-to-date and navigating the complexities of integrating the latest optimizations and features seamlessly.
Solution: The team closely monitored Next.js updates and implemented the upgrade meticulously to leverage the latest enhancements seamlessly.
Challenge: Reducing image sizes and optimizing loading were essential, but the challenge was finding the right balance between compression for size reduction and maintaining image quality. Exploring modern formats like WebP adds complexity for efficient compression.
Solution: The team navigated the challenge by implementing image optimization techniques. Integration of modern formats like WebP enhanced overall image loading efficiency.
Challenge: Font optimization for a fast-loading page was vital. The challenge lay in utilizing the font-display property to control rendering and loading only necessary font variants and weights, balancing visual appeal with performance.
Solution: Intentional use of the font-display property and careful selection of font variants ensured optimal font rendering, striking the right balance between visual appeal and loading performance.
Challenge: Removing unused JavaScript to reduce page weight was essential. The challenge involved using new tools and eliminating unused code.
Solution: The team employed tools like Webpack Bundle Analyzer to identify and eliminate unused JavaScript code, ensuring optimal page weight and overall performance.
Challenge: The team faced the task of reducing unnecessary renders for improved performance. The challenge involved assessing and restructuring component lifecycles, requiring finding a balance between minimizing renders and maintaining functionality.
Solution: Code refactoring and optimizations helped achieve the goal by implementing memoization and PureComponent techniques.
Challenge: Reducing conditional renderings based on device detection was a smart move. The challenge was continuous code review and optimization to minimize unnecessary conditionals, especially those affecting the critical rendering path.
Solution: The team executed code reviews, systematically minimizing conditional renderings to enhance overall performance, particularly in critical rendering scenarios.
Challenge: Preloading above-the-fold content improved perceived performance. The challenge was confirming that critical resources like stylesheets, scripts, and images were preloaded to expedite loading during user navigation.
Solution: Preloading strategies' implementation ensured that essential resources were loaded in advance, enhancing perceived performance during user navigation.
Challenge: Implementing dynamic imports and lazy loading for non-SEO-critical items required to address resource loading priorities. The team navigated the complexity of optimizing initial load times and ensuring elements were loaded based on user interactions, balancing performance and user experience.
Solution: The team implemented dynamic imports, which divided large JS files into smaller chunks loaded on relevant pages. Incorporating lazy loading for non-SEO-critical items also sped up the initial load of the page and load element, enhancing the overall user experience.
Challenge: Addressing mobile usability and accessibility was crucial. The challenge involved ensuring that all changes met diverse user needs, were accessible and validated through testing tools for mobile-friendly experiences.
Solution: The team implemented validation processes to ensure optimal mobile usability and accessibility of the website, providing a seamless experience across devices.
Challenge: Fixing inline link issues for SEO was crucial. The challenge involved structuring links appropriately and ensuring the application adhered to SEO best practices, including meta tags, proper headings, and meaningful content.
Solution: SEO audits and adjustments were made to address inline link issues, ensuring that the website adhered to best practices and optimized its structure for search engine visibility.
Mamble is committed to working with partners to build remarkable projects with excellent marketing solutions and services.