Comment

Comment by martin_a

There's more to it, but I've focussed on WordPress pages in the past.

Some things I'd start with:

  - Minimize images (tinypng/tinyjpg)
  - Deactivate/Remove what you don't need (Plugins (!!!), RPC, Emojis, stuff like that which is ON by default in WP -> will strip down the code)
  - Strip down & combine scripts
  - Reduce third-party dependencies, try making them first-party (fonts, analytics)
  - Minify scripts and CSS
  - Use caching on the client-side through htaccess rules
Normally those things are enough to get a 85+ score on Lighthouse, GTmetrix and alike.
parent martin_a 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton