Enable content compression for static content

Hi :slight_smile:

I’ve just deployed my slides built via Eleventy, SCSS and a bit of JS and deployed it to lea11y.netlify.app, with my domain https://lea11y.de.

The repo is on github: GitHub - learosema/a11y-basics

Question: I would love to enable content compression (brotli, or gzip) with my statically generated content. How do I enable that? Is there an option in the site settings for automatically activating it for my deploys? Or do I have to compress my files in my build npm step and add a Content-Encoding header somehow?

  • Site name: lea11y.netlify.app / lea11y.de

Is this not already working?

I can see it does:

image

Any specific issues with a specific file?