Compression of CSS and JS files on the server side reduces their size significantly, leading to faster website loading times. CSS files receive the extension .css.gz, while JS files receive .js.gz.
I believe static assets are served with gzip encoding by default if the client supports them? No need for a different file extension if the client includes an "Accept-Encoding" header.
gzip does this if you are running Apache. Just need to add it to the .htaccess file. Now are you thinking of having it enabled by default?
If you are running LS/OLS, it should have Brotli enabled by default.
Yes, sorry, I was thinking of nginx. If you're using apache, the .htaccess config is actually in the Enhance documentation: https://enhance.com/docs/technical-guidance/enabling-gzip-compression.html
And for NGINX: https://docs.nginx.com/nginx/admin-guide/web-server/compression/
This is pretty straightforward server admin stuff. We don't need a new page that just generates a few config lines or worse a true false for enabling gzip and then not being able to configure details.