JS file not being returning GZIP'd for Static Web App
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
When I view my static web app, I noticed that the response for my JS files are not returned with gzip encoding. According to this [documentation](https://learn.microsoft.com/en-us/azure/static-web-apps/faq#how-do-i-enable-gzip-or-brotli-compression-), GZIP compression is automatically supposed to happen for JS files
**To reproduce**
1. Go to https://www.bobharing.com/ with dev tools opened (using Edge Version 120.0.2210.91 (Official build) (arm64))
2. View the https://www.bobharing.com/assets/js/app.058755c5.js file in the network tab.
3. The request header mentions
Accept-Encoding: gzip, deflate, br
4. When you look in the response headers, there is no content-encoding header present.
**Expected behavior**
JS file has GZIP encoding.
**Screenshots**
There is not content-encoding header present for the JS file.
**Device info (if applicable):**
- OS: MACOS (arm64)
- Browser Edge
- Version Version 120.0.2210.91 (Official build) (arm64)
**Additional context**
There is the same issue for the CSS files.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.