Portfolio Performance Overhaul
Achieving 95+ Lighthouse scores through systematic optimization The original portfolio site suffered from slow initial load times (3.8s FCP), poor SEO scores, and accessibility issues. The Lighthouse performance score was stuck at 62, and the site lacked proper structured data for search engine visibility.
Problem context
The original portfolio site suffered from slow initial load times (3.8s FCP), poor SEO scores, and accessibility issues. The Lighthouse performance score was stuck at 62, and the site lacked proper structured data for search engine visibility.
Implementation approach
I took a systematic approach: first auditing every dependency and eliminating unused code, then implementing code-splitting with React.lazy for all route-level components. Images were converted to WebP with responsive srcsets. Critical CSS was inlined and non-critical styles were deferred. Firebase Firestore queries were optimized with persistent caching and compound indexes.
Outcome and delivery impact
The site now achieves a 97 Lighthouse performance score with a 1.2s FCP. SEO score improved to 100 with proper meta tags, structured data (JSON-LD), and a dynamically generated sitemap. Bundle size was reduced by 40% through tree-shaking and lazy loading.
Reported metrics
-
Lighthouse Score
Reported value: 97
-
First Contentful Paint
Reported value: 1.2s
-
Bundle Size Reduction
Reported value: 40%
-
SEO Score
Reported value: 100
Technologies involved
-
React
Open the technology archive to view related project work.
-
Vite
Open the technology archive to view related project work.
-
Firebase
Open the technology archive to view related project work.
-
Tailwind CSS
Open the technology archive to view related project work.
-
Netlify
Open the technology archive to view related project work.