Hasty Briefsbeta

Bilingual

The three lines of CSS that saved me 40kb and might do the same for you

4 hours ago
  • #font performance
  • #web development
  • #CSS optimization
  • Custom fonts improve usability and design but can increase page size; a single font may exceed 40kb, impacting performance.
  • Using fonts split into subsets like latin and latin-ext can cause extra downloads for characters outside the base set.
  • Apply a CSS class with a monospace font stack to specific elements, leveraging browser-built fonts to eliminate font downloads and reduce page weight.