My personal website
Find a file
Lorenzo Iovino 7caf02fb36 perf: improve Lighthouse performance score
Fix render blocking and layout shift issues:
- Make Google Fonts non-blocking with font-display: swap
- Inline critical font-face declaration to prevent FOIT
- Add fetchpriority='high' and loading='eager' to hero LCP image
- Remove lazy loading from above-the-fold content

Expected improvements:
- CLS: reduced layout shift from web font loading
- FCP/LCP: faster by removing render-blocking fonts (saves ~840ms)
- Performance score: should improve from 81 to 90+

Remaining optimizations can be done later:
- Minify JavaScript (173 KB)
- Reduce unused JavaScript (295 KB)
- These require more complex bundling optimizations
2026-01-08 18:45:25 +01:00
.github/workflows fix(ci): update pnpm version to 10.x and fix lockfile compatibility 2026-01-08 16:52:31 +01:00
.zed featmigrate from Angular to Astro static site 2026-01-08 16:46:17 +01:00
public feat: implement automatic image optimization with Astro Assets 2026-01-08 17:52:58 +01:00
src perf: improve Lighthouse performance score 2026-01-08 18:45:25 +01:00
.biomeignore featmigrate from Angular to Astro static site 2026-01-08 16:46:17 +01:00
.env featmigrate from Angular to Astro static site 2026-01-08 16:46:17 +01:00
.gitignore feat: implement automatic image optimization with Astro Assets 2026-01-08 17:52:58 +01:00
.npmrc fix(ci): update pnpm version to 10.x and fix lockfile compatibility 2026-01-08 16:52:31 +01:00
.prettierignore featmigrate from Angular to Astro static site 2026-01-08 16:46:17 +01:00
.prettierrc.json featmigrate from Angular to Astro static site 2026-01-08 16:46:17 +01:00
astro.config.mjs perf: reduce image sizes to stay under 100KB threshold 2026-01-08 18:09:08 +01:00
biome.json featmigrate from Angular to Astro static site 2026-01-08 16:46:17 +01:00
package.json feat: implement automatic image optimization with Astro Assets 2026-01-08 17:52:58 +01:00
pnpm-lock.yaml feat: implement automatic image optimization with Astro Assets 2026-01-08 17:52:58 +01:00
README.md featmigrate from Angular to Astro static site 2026-01-08 16:46:17 +01:00
tailwind.config.js featmigrate from Angular to Astro static site 2026-01-08 16:46:17 +01:00
tsconfig.json featmigrate from Angular to Astro static site 2026-01-08 16:46:17 +01:00

lorenzoiovino.com

My personal website

This project is built with Astro and TailwindCSS.

Tech Stack

  • Framework: Astro - Static site generator
  • Styling: TailwindCSS - Utility-first CSS framework
  • Package Manager: pnpm
  • Language: TypeScript

🌐 Deployment

The site is configured to be deployed as a static site. The build output is in the dist/ directory.

Author

Lorenzo Iovino