title: NextJS 9 - Compression best practice
body: <p>With the new option to use the in-built api (/pages/api) what is the new best practice way to implement gzipping on client-side js?</p>
  
  <p>I've only recently started converting my app into NextJS so i'm still learning but i noticed in my lighthouse report half way through converting everything that NextJS wasn't gzipping anything in production.</p>