Find web font files and their size
find large font files | which web fonts are in my theme | fonts slowing down website | check locally hosted google fonts | find | webfonts | fonts | load-timefind /var/www/vhosts/example.com/httpdocs/wp-content -type f \( -iname '*.woff2' -o -iname '*.woff' -o -iname '*.ttf' -o -iname '*.otf' -o -iname '*.eot' \) -printf '%s\t%p\n' | sort -rn | head -30 | numfmt --field=1 --to=iecShows the 30 largest font files with size and path. Web fonts often block text rendering and shift the layout, which hurts LCP and CLS. Outdated formats such as TTF or EOT and full character sets without subsetting stand out quickly here.
Note: WOFF2 is enough for modern browsers. The page source or the theme’s CSS shows whether a file is actually loaded.
Also searched as
- find large font files
- which web fonts are in my theme
- fonts slowing down website
- check locally hosted google fonts