Azure / static-web-apps

Azure Static Web Apps. For bugs and feature requests, please create an issue in this repo. For community discussions, latest updates, kindly refer to the Discussions Tab. To know what's new in Static Web Apps, visit https://aka.ms/swa/ThisMonth
https://aka.ms/swa
MIT License
325 stars 56 forks source link

CSS/JS files are not compressed when Enterpriser-Grade Edge is enabled #1283

Open HummingMind opened 1 year ago

HummingMind commented 1 year ago

Hello, If I disable the Enterpriser-Grade Edge, my CSS and JS files are getting compressed with brotli, as they should be. However, when I enable the Enterpriser-Grade Edge, only my html files are compressed, but not the CSS/JS files.

Is this a bug? Is there a list of file/mime types that are supposed to be compressed?

Thank you.

joshua-deans commented 11 months ago

I'm facing the same issue here. It seems that compression works initially with enterprise-grade edge, but stops working after some time.

ImpactMAC commented 8 months ago

We have the same issue

Related #1379 #1340