Text compression is not working for css or js

Hello,

It seems that the netlify compression ( gzip or br ) is simply not working for css, font or js files. It is working for html and svg.

I’ve found other recent projects with the same issue.. I also checked an old project that also uses the same stack and compression is working fine for that one.

Check the network tab for .css and .js files, these files are not being compressed, regardless of the file size >1kb

  • netlify.toml file is empty.
  • Stack: Astro + netlify adapter

Thanks!!

1 Like

Hi,

Thanks so much for reporting this issue. I’ve escalated this to our devs to investigate further, we’ll keep you updated as we have more information to share.

1 Like

Thanks again for getting in touch and apologies for any inconvenience here - we’ve shipped a fix for this issue and so you should see these assets properly compressed moving forward.

2 Likes